AuthenticatorBase subclasses that need it in order to perform reauthentications when SingleSignOn is in
use.
SingleSignOn, AuthenticatorBase#reauthenticateFromSSO
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private String | |
| private transient Principal | |
| private static final long | |
| private final Map | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | SingleSignOnEntry(Principal
the principal, String Principal returned by the latest call to Realm.authenticate.the type of authenticator used (BASIC, CLIENT_CERT, DIGEST or FORM) authType, String the username (if any) used for the authentication username, String the password (if any) used for the authentication password)Creates a new SingleSignOnEntry |
| Modifier and Type | Method and Description |
|---|---|
| public void | addSession(SingleSignOn
The sso, String SingleSignOn valve that is managing the SSO session.The ID of the SSO session. ssoId, Session The session)Session being associated with the SSO.Adds a |
| public Set | Returns: The identifiers for the HTTP sessions that are current associated with this SSo entryReturns the HTTP Session identifiers associated with this SSO. |
| public String | Returns: "BASIC", "CLIENT_CERT", "DIGEST", "FORM" or "NONE"Gets the name of the authentication type originally used to authenticate the user associated with the SSO. |
| public boolean | Returns: true if getAuthType returns "BASIC" or "FORM", false otherwise.Gets whether the authentication type associated with the original authentication supports reauthentication. |
| public String | Returns: the password credential associated with the SSO, ornull if the original authentication type
does not involve a password.Gets the password credential (if any) associated with the SSO. |
| public Principal | Returns: The Principal that was created by the authentication that triggered the creation of the SSO entryGets the |
| public String | Returns: The user name that was authenticated as part of the authentication that triggered the creation of the SSO entryGets the user name provided by the user as part of the authentication process. |
| private void | |
| public void | removeSession(Session
the session)Session to remove.Removes the given |
| public synchronized void | updateCredentials(Principal
the principal, String Principal returned by the latest call to Realm.authenticate.the type of authenticator used (BASIC, CLIENT_CERT, DIGEST or FORM) authType, String the username (if any) used for the authentication username, String the password (if any) used for the authentication password)Updates the SingleSignOnEntry to reflect the latest security information associated with the caller. |
| private void |
| authType | back to summary |
|---|---|
| private String authType | |
| canReauthenticate | back to summary |
|---|---|
| private boolean canReauthenticate | |
| password | back to summary |
|---|---|
| private String password | |
| principal | back to summary |
|---|---|
| private transient Principal principal | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| sessionKeys | back to summary |
|---|---|
| private final Map<SingleSignOnSessionKey, SingleSignOnSessionKey> sessionKeys | |
| username | back to summary |
|---|---|
| private String username | |
| SingleSignOnEntry | back to summary |
|---|---|
| public SingleSignOnEntry(Principal principal, String authType, String username, String password) Creates a new SingleSignOnEntry
| |
| addSession | back to summary |
|---|---|
| public void addSession(SingleSignOn sso, String ssoId, Session session) Adds a
| |
| findSessions | back to summary |
|---|---|
| public Set Returns the HTTP Session identifiers associated with this SSO.
| |
| getAuthType | back to summary |
|---|---|
| public String getAuthType() Gets the name of the authentication type originally used to authenticate the user associated with the SSO.
| |
| getCanReauthenticate | back to summary |
|---|---|
| public boolean getCanReauthenticate() Gets whether the authentication type associated with the original authentication supports reauthentication.
| |
| getPassword | back to summary |
|---|---|
| public String getPassword() Gets the password credential (if any) associated with the SSO.
| |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Gets the
| |
| getUsername | back to summary |
|---|---|
| public String getUsername() Gets the user name provided by the user as part of the authentication process.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| removeSession | back to summary |
|---|---|
| public void removeSession(Session session) Removes the given
| |
| updateCredentials | back to summary |
|---|---|
| public synchronized void updateCredentials(Principal principal, String authType, String username, String password) Updates the SingleSignOnEntry to reflect the latest security information associated with the caller.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |