public class MaxWSUNTConsumeLoginModule
extends java.lang.Object
implements javax.security.auth.spi.LoginModule
Constructor and Description |
---|
MaxWSUNTConsumeLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort()
Aborts the login process.KJR
|
boolean |
commit()
Commits the login process.
|
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map sharedState,
java.util.Map options)
Intializes this
LoginModule object. |
boolean |
login()
Starts a login process.
|
boolean |
logout()
Logs out the login process.
|
public void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler, java.util.Map sharedState, java.util.Map options)
LoginModule
object.initialize
in interface javax.security.auth.spi.LoginModule
subject
- The Subject
to be authenticated.handler
- The CallbackHandler
used to gather login data
from the user.sharedState
- State data shared between login modules.options
- A Map
of key-value pairs specifying
configuration options for this login module.LoginModule.initialize(Subject, CallbackHandler, Map, Map)
public boolean login() throws javax.security.auth.login.LoginException
login
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- If the login failsLoginModule.login()
public boolean commit() throws javax.security.auth.login.LoginException
commit
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- If the commit failsLoginModule.commit()
public boolean abort() throws javax.security.auth.login.LoginException
abort
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- If the abort failsLoginModule.abort()
public boolean logout() throws javax.security.auth.login.LoginException
logout
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- If the abort failsLoginModule.logout()