org.omus.ext
Interface KeyGenerator


public interface KeyGenerator

A key generated by a class that implements this interface can be used to encode passwords on the client. This extension must be used together with a PasswordDecoder extension. Furthermore the corresponding encoding function must be written in ActionScript and set with the setPasswordEncoder method in org.omus.session in the client. The generated key will be passed to the encoding method in the client and to the decoding method on the server. You must specify the name of the class that implements this interface in the <extensions>-node in config.xml.


Method Summary
 java.lang.String generateKey()
          Invoked before a client will be requested to send the username and password; this method must return a key that will be passed to the encoding method in the client and to the decoding method on the server.
 

Method Detail

generateKey

public java.lang.String generateKey()
Invoked before a client will be requested to send the username and password; this method must return a key that will be passed to the encoding method in the client and to the decoding method on the server.