Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SSO_COOKIE_NAME |
Constructor and Description |
---|
HashSSORealm() |
Modifier and Type | Method and Description |
---|---|
void |
clearSingleSignOn(java.lang.String username)
Clear SSO for user.
|
Credential |
getSingleSignOn(Request request,
Response response)
Get SSO credentials.
|
void |
setSingleSignOn(Request request,
Response response,
java.security.Principal principal,
Credential credential)
Set SSO principal and credential.
|
public static final java.lang.String SSO_COOKIE_NAME
public Credential getSingleSignOn(Request request, Response response)
SSORealm
getSingleSignOn
in interface SSORealm
request
- The request to SSO.response
- The response to SSO.public void setSingleSignOn(Request request, Response response, java.security.Principal principal, Credential credential)
SSORealm
setSingleSignOn
in interface SSORealm
request
- The authenticated request.response
- The authenticated response/principal
- The principal that has been authenticated.credential
- The credentials used to authenticate.public void clearSingleSignOn(java.lang.String username)
SSORealm
clearSingleSignOn
in interface SSORealm
username
- The user to clear.Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.