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.
  • cd <installation-directory>/AceQL/bin
  • Windows: run properties-encryptor.bat.
  • Linux: run properties-encryptor Bash.
  • 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
    DefaultVersion 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.