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 theProperties
of theaceql-server.properties
file.
-
Method Details
-
getPassword
Returns the password to use to decrypt the encrypted theProperties
of theaceql-server.properties
file.- Returns:
- the password to use to decrypt the
Properties
of theaceql-server.properties
file. - Throws:
IOException
- if an IOException occursSQLException
- if a SQLException occurs
-