| Modifier and Type | Field and Description |
|---|---|
| private transient Random | |
| private HashMap | |
| private HashMap | |
| private HashMap | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearSingleSignOn(String
The user to clear. username)Implements org. |
| public Credential | getSingleSignOn(Request
The request to SSO. request, Response The response to SSO. response)Implements org. |
| 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)Implements org. |
| _random | back to summary |
|---|---|
| private transient Random _random | |
| _ssoId2Principal | back to summary |
|---|---|
| private HashMap<K, V> _ssoId2Principal | |
| _ssoPrincipal2Credential | back to summary |
|---|---|
| private HashMap<K, V> _ssoPrincipal2Credential | |
| _ssoUsername2Id | back to summary |
|---|---|
| private HashMap<K, V> _ssoUsername2Id | |
| SSO_COOKIE_NAME | back to summary |
|---|---|
| public static final String SSO_COOKIE_NAME | |
| HashSSORealm | back to summary |
|---|---|
| public HashSSORealm() | |
| clearSingleSignOn | back to summary |
|---|---|
| public void clearSingleSignOn(String username) Implements org. Doc from org. Clear SSO for user.
| |
| getSingleSignOn | back to summary |
|---|---|
| public Credential getSingleSignOn(Request request, Response response) Implements org. Doc from org. 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) Implements org. Doc from org. 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.
| |