Interface PropertiesPasswordManager

All Known Implementing Classes:
DefaultPropertiesPasswordManager

public interface PropertiesPasswordManager
Interface that defines how to get the password used to encrypt the Properties of the aceql-server.properties file.
The password must have been previously created with the PropertiesEncryptor class called via command line properties-encryptor.bat on Windows or properties-encryptor Bash script on Unix.

Implement the getPassword() in your own PropertiesPasswordManager concrete method or use the provided DefaultPropertiesPasswordManager implementation.
Since:
7.0
Author:
Nicolas de Pomereu
  • Method Summary

    Modifier and Type Method Description
    char[] getPassword()
    Returns the password to use to decrypt the encrypted the Properties of the aceql-server.properties file.
  • Method Details

    • getPassword

      char[] getPassword() throws IOException, SQLException
      Returns the password to use to decrypt the encrypted the Properties of the aceql-server.properties file.
      Returns:
      the password to use to decrypt the Properties of the aceql-server.properties file.
      Throws:
      IOException - if an IOException occurs
      SQLException - if a SQLException occurs