UserRealm
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Credential | Returns: A credential if available for SSO authenticated requests.The request to SSO. request, Response The response to SSO. response)Get SSO credentials. |
| public void | setSingleSignOn(Request
The authenticated request. request, Response The authenticated response/ response, Principal The principal that has been authenticated. principal, Credential The credentials used to authenticate. credential)Set SSO principal and credential. |
| clearSingleSignOn | back to summary |
|---|---|
| public void clearSingleSignOn(String username) Clear SSO for user.
| |
| getSingleSignOn | back to summary |
|---|---|
| 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. If available, the credential used to authenticate the user is returned. If recoverable credentials are not required then null may be return.
| |
| setSingleSignOn | back to summary |
|---|---|
| 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. The SSO mechanism should record the principal and credential and update the response with any cookies etc. required.
| |