Interface PropertiesPasswordManager
- All Known Implementing Classes:
DefaultPropertiesPasswordManager
public interface PropertiesPasswordManager
Interface that defines how to get the password used to encrypt the
The password must have been previously created with the
Implement 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 thePropertiesof theaceql-server.propertiesfile.
-
Method Details
-
getPassword
Returns the password to use to decrypt the encrypted thePropertiesof theaceql-server.propertiesfile.- Returns:
- the password to use to decrypt the
Propertiesof theaceql-server.propertiesfile. - Throws:
IOException- if an IOException occursSQLException- if a SQLException occurs
-