javax.security.auth.spi.LoginModule
| Modifier and Type | Field and Description |
|---|---|
| private boolean | allowGuestLogin
The allow guest login. |
| private IWindowsAuthProvider | auth
The auth. |
| private CallbackHandler | callbackHandler
The callback handler. |
| private boolean | debug
The debug. |
| private static final Logger | LOGGER
The Constant LOGGER. |
| private PrincipalFormat | principalFormat
The principal format. |
| private Set | principals
The principals. |
| private PrincipalFormat | roleFormat
The role format. |
| private Subject | subject
The subject. |
| private String | username
The username. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true, if successfulImplements javax. |
| public boolean | Returns: true, if successfulImplements javax. |
| public IWindowsAuthProvider | |
| private static List | Returns: List of role principal objects.Windows group. group, final PrincipalFormat Principal format. principalFormat)Returns a list of role principal objects. |
| private static List | Returns: A list of user principal objects.Windows identity. windowsIdentity, final PrincipalFormat Principal format. principalFormat)Returns a list of user principal objects. |
| public void | initialize(final Subject
the initSubject, final CallbackHandler Subject to be authenticated.a initCallbackHandler, final Map<String, ?> CallbackHandler for communicating
with the end user (prompting for usernames and
passwords, for example).state shared with other configured LoginModules. initSharedState, final Map<String, ?> options specified in the login
initOptions)Configuration for this particular
LoginModule.Implements javax. LoginModule.
|
| public boolean | Returns: True if Guest login permitted, false otherwise.True if Guest login permitted. |
| public boolean | |
| public boolean | Returns: true, if successfulImplements javax. |
| public boolean | Returns: true, if successfulImplements javax. |
| public void | |
| public void | setAuth(final IWindowsAuthProvider
Class implements IWindowsAuthProvider. provider)Set Windows auth provider. |
| allowGuestLogin | back to summary |
|---|---|
| private boolean allowGuestLogin The allow guest login. | |
| auth | back to summary |
|---|---|
| private IWindowsAuthProvider auth The auth. | |
| callbackHandler | back to summary |
|---|---|
| private CallbackHandler callbackHandler The callback handler. | |
| debug | back to summary |
|---|---|
| private boolean debug The debug. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER The Constant LOGGER. | |
| principalFormat | back to summary |
|---|---|
| private PrincipalFormat principalFormat The principal format. | |
| principals | back to summary |
|---|---|
| private Set<Principal> principals The principals. | |
| roleFormat | back to summary |
|---|---|
| private PrincipalFormat roleFormat The role format. | |
| subject | back to summary |
|---|---|
| private Subject subject The subject. | |
| username | back to summary |
|---|---|
| private String username The username. | |
| WindowsLoginModule | back to summary |
|---|---|
| public WindowsLoginModule() | |
| abort | back to summary |
|---|---|
| public boolean abort() throws LoginException Implements javax. Abort a login process.
| |
| commit | back to summary |
|---|---|
| public boolean commit() throws LoginException Implements javax. Commit principals to the subject.
| |
| getAuth | back to summary |
|---|---|
| public IWindowsAuthProvider getAuth() Windows auth provider.
| |
| getRolePrincipals | back to summary |
|---|---|
| private static List Returns a list of role principal objects.
| |
| getUserPrincipals | back to summary |
|---|---|
| private static List Returns a list of user principal objects.
| |
| initialize | back to summary |
|---|---|
| public void initialize(final Subject initSubject, final CallbackHandler initCallbackHandler, final Map<String, ?> initSharedState, final Map<String, ?> initOptions) Implements javax. Doc from javax. Initialize this This method is called by the
| |
| isAllowGuestLogin | back to summary |
|---|---|
| public boolean isAllowGuestLogin() True if Guest login permitted.
| |
| isDebug | back to summary |
|---|---|
| public boolean isDebug() True if Debug is enabled.
| |
| login | back to summary |
|---|---|
| public boolean login() throws LoginException Implements javax. Use Windows SSPI to authenticate a username with a password.
| |
| logout | back to summary |
|---|---|
| public boolean logout() throws LoginException Implements javax. Logout a user.
| |
| setAllowGuestLogin | back to summary |
|---|---|
| public void setAllowGuestLogin(final boolean value) Set whether Guest login is permitted. Default is true, if the Guest account is enabled, an invalid username/password results in a Guest login.
| |
| setAuth | back to summary |
|---|---|
| public void setAuth(final IWindowsAuthProvider provider) Set Windows auth provider.
| |