| org.mortbay.jetty.security.SSORealm
All known Subclasses: org.mortbay.jetty.security.HashUserRealm, org.mortbay.jetty.security.HashSSORealm,
SSORealm | public interface SSORealm (Code) | | Single Sign On Realm.
This interface is a mix-in interface for the UserRealm interface. If an
implementation of UserRealm also implements SSORealm, then single signon
is supported for that realm.
See Also: UserRealm author: Greg Wilkins (gregw) |
Method Summary | |
public void | clearSingleSignOn(String username) Clear SSO for user. | public Credential | getSingleSignOn(Request request, Response response) 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. | public void | setSingleSignOn(Request request, Response response, Principal principal, Credential credential) Set SSO principal and credential.
This call is used by an authenticator to inform the SSO mechanism that
a user has signed on. |
clearSingleSignOn | public void clearSingleSignOn(String username)(Code) | | Clear SSO for user.
Parameters: username - The user to clear. |
getSingleSignOn | public Credential getSingleSignOn(Request request, Response response)(Code) | | 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.
Parameters: request - The request to SSO. Parameters: response - The response to SSO. A credential if available for SSO authenticated requests. |
setSingleSignOn | public void setSingleSignOn(Request request, Response response, Principal principal, Credential credential)(Code) | | 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.
Parameters: request - The authenticated request. Parameters: response - The authenticated response/ Parameters: principal - The principal that has been authenticated. Parameters: credential - The credentials used to authenticate. |
|
|