Class PropertiesEncryptor

java.lang.Object
org.kawanfw.sql.api.server.auth.crypto.PropertiesEncryptor

public class PropertiesEncryptor
extends Object
Command line interface for property values encryption. It Allows:
  • To define a password for encrypting property values.
  • Build the encrypted property values to put back in the aceql-server.properties file.
In order to run:
  • Open a command line on Windows or Linux/Bash.
  • java -jar <aceql installation dir>/lib-server/properties-encryptor-1.0.jar.
  • Follow the instructions in order to create the password and to encrypt some property values.
Author:
Nicolas de Pomereu
  • Field Summary

    Fields
    Modifier and Type Field Description
    static String VERSION
    Version of PropertiesEncryptor
  • Constructor Summary

    Constructors
    Constructor Description
    PropertiesEncryptor()  
  • Method Summary

    Modifier and Type Method Description
    static void doIt()
    Create a password to encrypt property values and then encrypts each passed value.
    static void main​(String[] args)
    Calls doIt method.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PropertiesEncryptor

      public PropertiesEncryptor()
  • Method Details

    • main

      public static void main​(String[] args) throws Exception
      Calls doIt method.
      Parameters:
      args - no values are passed
      Throws:
      Exception - if any Exception occurs
    • doIt

      public static void doIt()
      Create a password to encrypt property values and then encrypts each passed value.