org.mortbay.http
Class HashSSORealm
java.lang.Object
  |
  +--org.mortbay.http.HashSSORealm
- All Implemented Interfaces: 
- SSORealm
- public class HashSSORealm- extends java.lang.Object- implements SSORealm
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SSO_COOKIE_NAME
public static final java.lang.String SSO_COOKIE_NAME
- See Also:
- Constant Field Values
HashSSORealm
public HashSSORealm()
getSingleSignOn
public Credential getSingleSignOn(HttpRequest request,
                                  HttpResponse response)
- Description copied from interface: SSORealm
- Get SSO credentials.
 This call is used by an authenticator to check if a SSO exists for a request.
 If SSO authentiation is successful, the requests UserPrincipal and
 AuthUser fields are set.  If available, the credential used to
 authenticate the user is returned. If recoverable credentials are not required then
 null may be return.
 
- 
- Specified by:
- getSingleSignOnin interface- SSORealm
 
- 
- Parameters:
- request- The request to SSO.
- response- The response to SSO.
- Returns:
- A credential if available for SSO authenticated requests.
 
setSingleSignOn
public void setSingleSignOn(HttpRequest request,
                            HttpResponse response,
                            UserPrincipal principal,
                            Credential credential)
- Description copied from interface: SSORealm
- Set SSO principal and credential.
 This call is used by an authenticator to inform the SSO mechanism that
 a user has signed on. The SSO mechanism should record the principal
 and credential and update the response with any cookies etc. required.
 
- 
- Specified by:
- setSingleSignOnin interface- SSORealm
 
- 
- Parameters:
- request- The authenticated request.
- response- The authenticated response/
- principal- The principal that has been authenticated.
- credential- The credentials used to authenticate.
 
clearSingleSignOn
public void clearSingleSignOn(java.lang.String username)
- Description copied from interface: SSORealm
- Clear SSO for user.
 
- 
- Specified by:
- clearSingleSignOnin interface- SSORealm
 
- 
- Parameters:
- username- The user to clear.
 
Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.