snaq.db
Interface PasswordDecoder
- All Known Implementing Classes:
- RotDecoder
public interface PasswordDecoder
Interface for decoding database passwords.
This interface can be implemented by a class in order to provide custom
database password decoding. To use the custom decoder class make
sure you call the setPasswordDecoder
method in either the
ConnectionPool
object or the ConnectionPoolManager
in your code (or use the properties file version with the pool manager).
- Author:
- Giles Winstanley
Method Summary |
char[] |
decode(String encoded)
Returns a char array representing the decoded version of the
specified encoded password. |
decode
char[] decode(String encoded)
- Returns a
char
array representing the decoded version of the
specified encoded password.
- Parameters:
encoded
- password to be decoded
- Returns:
- decoded password as
char
array.