| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private CallbackHandler | |
| private boolean | |
| private AbstractLoginModule. | |
| private Subject |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | abort()
Implements javax. |
| public boolean | commit()
Implements javax. |
| public Callback[] | |
| public CallbackHandler | |
| public AbstractLoginModule. | |
| public Subject | |
| public abstract UserInfo | |
| public void | initialize(Subject subject, CallbackHandler callbackHandler, Map<K, V> sharedState, Map<K, V> options)
Implements javax. LoginModule.
|
| public boolean | |
| public boolean | |
| public boolean | login()
Implements javax. Subject (phase 1).
|
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| authState | back to summary |
|---|---|
| private boolean authState | |
| callbackHandler | back to summary |
|---|---|
| private CallbackHandler callbackHandler | |
| commitState | back to summary |
|---|---|
| private boolean commitState | |
| currentUser | back to summary |
|---|---|
| private AbstractLoginModule. | |
| subject | back to summary |
|---|---|
| private Subject subject | |
| AbstractLoginModule | back to summary |
|---|---|
| public AbstractLoginModule() | |
| abort | back to summary |
|---|---|
| public boolean abort() throws LoginException Implements javax. Doc from javax. Method to abort the authentication process (phase 2). This method is called if the LoginContext's overall authentication failed. (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules did not succeed). If this LoginModule's own authentication attempt
succeeded (checked by retrieving the private state saved by the
| |
| commit | back to summary |
|---|---|
| public boolean commit() throws LoginException Implements javax. Doc from javax. Method to commit the authentication process (phase 2). This method is called if the LoginContext's overall authentication succeeded (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules succeeded). If this LoginModule's own authentication attempt
succeeded (checked by retrieving the private state saved by the
| |
| configureCallbacks | back to summary |
|---|---|
| public Callback[] configureCallbacks() | |
| getCallbackHandler | back to summary |
|---|---|
| public CallbackHandler getCallbackHandler() | |
| getCurrentUser | back to summary |
|---|---|
| public AbstractLoginModule. | |
| getSubject | back to summary |
|---|---|
| public Subject getSubject() | |
| getUserInfo | back to summary |
|---|---|
| public abstract UserInfo getUserInfo(String username) throws Exception | |
| initialize | back to summary |
|---|---|
| public void initialize(Subject subject, CallbackHandler callbackHandler, Map<K, V> sharedState, Map<K, V> options) Implements javax. Doc from javax. Initialize this This method is called by the | |
| isAuthenticated | back to summary |
|---|---|
| public boolean isAuthenticated() | |
| isCommitted | back to summary |
|---|---|
| public boolean isCommitted() | |
| login | back to summary |
|---|---|
| public boolean login() throws LoginException Implements javax. Doc from javax. Method to authenticate a The implementation of this method authenticates
a
| |
| logout | back to summary |
|---|---|
| public boolean logout() throws LoginException Implements javax. Doc from javax. Method which logs out a An implementation of this method might remove/destroy a Subject's Principals and Credentials.
| |
| setAuthenticated | back to summary |
|---|---|
| public void setAuthenticated(boolean authState) | |
| setCallbackHandler | back to summary |
|---|---|
| public void setCallbackHandler(CallbackHandler h) | |
| setCommitted | back to summary |
|---|---|
| public void setCommitted(boolean commitState) | |
| setCurrentUser | back to summary |
|---|---|
| public void setCurrentUser(AbstractLoginModule. | |
| setSubject | back to summary |
|---|---|
| public void setSubject(Subject s) | |
| Modifier and Type | Field and Description |
|---|---|
| private Principal | |
| private List | |
| private UserInfo |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Principal | |
| public String | |
| public void | |
| public void | |
| public void |
| principal | back to summary |
|---|---|
| private Principal principal | |
| roles | back to summary |
|---|---|
| private List<E> roles | |
| user | back to summary |
|---|---|
| private UserInfo user | |
| JAASUserInfo | back to summary |
|---|---|
| public JAASUserInfo(UserInfo u) | |
| checkCredential | back to summary |
|---|---|
| public boolean checkCredential(Object suppliedCredential) | |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() | |
| getUserName | back to summary |
|---|---|
| public String getUserName() | |
| setJAASInfo | back to summary |
|---|---|
| public void setJAASInfo(Subject subject) | |
| setUserInfo | back to summary |
|---|---|
| public void setUserInfo(UserInfo u) | |
| unsetJAASInfo | back to summary |
|---|---|
| public void unsetJAASInfo(Subject subject) | |