org.omus.ext
Interface PasswordDecoder


public interface PasswordDecoder

Provides a method to deode an encrypted password. This extension must be used together with a KeyGenerator extension. You must specify the name of the class that implements this interface in the <extensions>-node in config.xml.


Method Summary
 java.lang.String decode(java.lang.String password, java.lang.String secretKey)
          Invoked when a user will be logged in, the specified password was encoded by the client; this method must return the decoded password using the specified key which is the same that was used by the client to encode the password.
 

Method Detail

decode

public java.lang.String decode(java.lang.String password,
                               java.lang.String secretKey)
Invoked when a user will be logged in, the specified password was encoded by the client; this method must return the decoded password using the specified key which is the same that was used by the client to encode the password.