|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides communications support between a SingleSignOn valve and other such valves configured for the same hostname within a server cluster.
Implementations of this interface must declare a public no-arguments constructor.
ClusteredSingleSignOn (src) | Method Summary | |
void |
addSession(java.lang.String ssoId,
Session session)
Notify the cluster of the addition of a Session to an SSO session. |
ClusteredSingleSignOn (src) |
getSingleSignOnValve()
Gets the SingleSignOn valve for which this object is handling cluster communications. |
void |
logout(java.lang.String ssoId)
Notifies the cluster that a single sign on session has been terminated due to a user logout. |
org.jboss.web.tomcat.tc5.sso.SingleSignOnEntry |
lookup(java.lang.String ssoId)
Queries the cluster for the existence of a SSO session with the given id, returning a SingleSignOnEntry if one is found. |
void |
register(java.lang.String ssoId,
java.lang.String authType,
java.lang.String username,
java.lang.String password)
Notifies the cluster of the creation of a new SSO entry. |
void |
removeSession(java.lang.String ssoId,
Session session)
Notify the cluster of the removal of a Session from an SSO session. |
void |
setSingleSignOnValve(ClusteredSingleSignOn (src) valve)
Sets the SingleSignOn valve for which this object is handling cluster communications. |
void |
updateCredentials(java.lang.String ssoId,
java.lang.String authType,
java.lang.String username,
java.lang.String password)
Notifies the cluster of an update of the security credentials associated with an SSO session. |
| Method Detail |
public void addSession(java.lang.String ssoId,
Session session)
ssoId - the id of the SSO sessionsession - the Session that has been addedpublic ClusteredSingleSignOn (src) getSingleSignOnValve()
SingleSignOn valve.public void setSingleSignOnValve(ClusteredSingleSignOn (src) valve)
NOTE: This method must be called before calls can be made to the other methods of this interface.
valve - a SingleSignOn valve.public void logout(java.lang.String ssoId)
ssoId - the id of the SSO sessionpublic org.jboss.web.tomcat.tc5.sso.SingleSignOnEntry lookup(java.lang.String ssoId)
SingleSignOnEntry if one is found.
ssoId - the id of the SSO session
SingleSignOnEntry created using information
found on another cluster node, or null if no
entry could be found.
public void register(java.lang.String ssoId,
java.lang.String authType,
java.lang.String username,
java.lang.String password)
ssoId - the id of the SSO sessionauthType - the type of authenticator (BASIC, CLIENT-CERT, DIGEST
or FORM) used to authenticate the SSO.username - the username (if any) used for the authenticationpassword - the password (if any) used for the authentication
public void removeSession(java.lang.String ssoId,
Session session)
ssoId - the id of the SSO sessionsession - the Session that has been removed
public void updateCredentials(java.lang.String ssoId,
java.lang.String authType,
java.lang.String username,
java.lang.String password)
ssoId - the id of the SSO sessionauthType - the type of authenticator (BASIC, CLIENT-CERT, DIGEST
or FORM) used to authenticate the SSO.username - the username (if any) used for the authenticationpassword - the password (if any) used for the authentication
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||