org.jboss.soa.esb.connection
Interface PasswordDecoder
public interface PasswordDecoder
Interface to be implemented by classes when they need to return the DB password for the connection by using their own
algorithm. Called by the connection pool
- Author:
- MohitK
Date: Jul 21, 2006
Method Summary |
java.lang.String |
decode(java.lang.String encodedPassword)
This method decodes the password for JDBC Connection, it will be called when setting JDBC connection properties. |
decode
java.lang.String decode(java.lang.String encodedPassword)
- This method decodes the password for JDBC Connection, it will be called when setting JDBC connection properties.
Users who need to decode the password need to implement this interface and write their own
decoding logic to send the actual DB password. If this method returns null
- Parameters:
encodedPassword
- The encoded password sent by JDBC framework
- Returns:
- Decoded password.