Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » security » [javadoc | source]
org.jboss.security
public class: ClientLoginModule [javadoc | source]
java.lang.Object
   org.jboss.security.ClientLoginModule

All Implemented Interfaces:
    LoginModule

A simple implementation of LoginModule for use by JBoss clients for the establishment of the caller identity and credentials. This simply sets the SecurityAssociation principal to the value of the NameCallback filled in by the CallbackHandler, and the SecurityAssociation credential to the value of the PasswordCallback filled in by the CallbackHandler. It has the following options:
Method from org.jboss.security.ClientLoginModule Summary:
abort,   commit,   initialize,   login,   logout
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.security.ClientLoginModule Detail:
 public boolean abort() throws LoginException 
    Method to abort the authentication process (phase 2).
 public boolean commit() throws LoginException 
    Method to commit the authentication process (phase 2).
 public  void initialize(Subject subject,
    CallbackHandler callbackHandler,
    Map sharedState,
    Map options) 
    Initialize this LoginModule.
 public boolean login() throws LoginException 
    Method to authenticate a Subject (phase 1).
 public boolean logout() throws LoginException