Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » web » tomcat » tc4 » authenticator » [javadoc | source]
org.jboss.web.tomcat.tc4.authenticator
class: SingleSignOnEntry [javadoc | source]
java.lang.Object
   org.jboss.web.tomcat.tc4.authenticator.SingleSignOnEntry
Extraction of the private inner class org.apache.catalina.authenticator.SingleSignOn.SingleSignOnEntry into a package protected class. This is necessary to make it available to AuthenticatorBase subclasses that need it in order to perform reauthentications when SingleSignOn is in use.
Constructor:
 SingleSignOnEntry(Principal principal,
    String authType,
    String username,
    String password) 
    Creates a new SingleSignOnEntry
    Parameters:
    principal - the Principal returned by the latest call to Realm.authenticate.
    authType - the type of authenticator used (BASIC, CLIENT-CERT, DIGEST or FORM)
    username - the username (if any) used for the authentication
    password - the password (if any) used for the authentication
Method from org.jboss.web.tomcat.tc4.authenticator.SingleSignOnEntry Summary:
addSession,   findSessions,   getAuthType,   getCanReauthenticate,   getPassword,   getPrincipal,   getUsername,   removeSession,   updateCredentials
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.tc4.authenticator.SingleSignOnEntry Detail:
 synchronized  void addSession(SingleSignOn sso,
    Session session) 
    Adds a Session to the list of those associated with this SSO.
 synchronized Session[] findSessions() 
    Returns the Sessions associated with this SSO.
 String getAuthType() 
    Gets the name of the authentication type originally used to authenticate the user associated with the SSO.
 boolean getCanReauthenticate() 
    Gets whether the authentication type associated with the original authentication supports reauthentication.
 String getPassword() 
    Gets the password credential (if any) associated with the SSO.
 Principal getPrincipal() 
    Gets the Principal that has been authenticated by the SSO.
 String getUsername() 
    Gets the username provided by the user as part of the authentication process.
 synchronized  void removeSession(Session session) 
    Removes the given Session from the list of those associated with this SSO.
  void updateCredentials(Principal principal,
    String authType,
    String username,
    String password) 
    Updates the SingleSignOnEntry to reflect the latest security information associated with the caller.