Modifier and Type | Field and Description |
---|---|
static String |
SSO_COOKIE_NAME |
Constructor and Description |
---|
HashSSORealm() |
Modifier and Type | Method and Description |
---|---|
void |
clearSingleSignOn(String username)
Clear SSO for user.
|
Credential |
getSingleSignOn(HttpRequest request,
HttpResponse response)
Get SSO credentials.
|
void |
setSingleSignOn(HttpRequest request,
HttpResponse response,
Principal principal,
Credential credential)
Set SSO principal and credential.
|
public static final String SSO_COOKIE_NAME
public Credential getSingleSignOn(HttpRequest request, HttpResponse response)
SSORealm
getSingleSignOn
in interface SSORealm
request
- The request to SSO.response
- The response to SSO.public void setSingleSignOn(HttpRequest request, HttpResponse response, 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(String username)
SSORealm
clearSingleSignOn
in interface SSORealm
username
- The user to clear.Copyright © 2013. All rights reserved.