public class WSILoginModule
extends java.lang.Object
implements javax.security.auth.spi.LoginModule
Note that a user of the Content Engine Java API never directly creates or uses an instance
of this class. Rather, the API user obtains a JAAS LoginContext
, using a
JAAS configuration that specifies the WSILoginModule
, and calls the login()
method on the JAAS LoginContext
. The JAAS runtime framework will invoke this
WSILoginModule
.
The methods and parameters used in this WSILoginModule
conform to the
standard JAAS LoginModule
interface. For information on these methods and
their parameters, refer to JAAS documentation for javax.security.auth.spi.LoginModule
.
Constructor and Description |
---|
WSILoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort()
The standard
javax.security.auth.spi.LoginModule.abort() method. |
boolean |
commit()
The standard
javax.security.auth.spi.LoginModule.commit() method. |
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
The standard
javax.security.auth.spi.LoginModule.initialize() method. |
boolean |
login()
The standard
javax.security.auth.spi.LoginModule.login() method. |
boolean |
logout()
The standard
javax.security.auth.spi.LoginModule.logout() method. |
public void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map sharedState, java.util.Map options)
javax.security.auth.spi.LoginModule.initialize()
method.
Refer to the Java™ 2 Platform Standard Edition (J2SE) documentation for details about the use of this method.initialize
in interface javax.security.auth.spi.LoginModule
public boolean login() throws javax.security.auth.login.LoginException
javax.security.auth.spi.LoginModule.login()
method.
Refer to the J2SE documentation for details about the use of this method.login
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
public boolean commit()
javax.security.auth.spi.LoginModule.commit()
method.
Refer to the J2SE documentation for details about the use of this method.commit
in interface javax.security.auth.spi.LoginModule
public boolean abort()
javax.security.auth.spi.LoginModule.abort()
method.
Refer to the J2SE documentation for details about the use of this method.abort
in interface javax.security.auth.spi.LoginModule
public boolean logout()
javax.security.auth.spi.LoginModule.logout()
method.
Refer to the J2SE documentation for details about the use of this method.logout
in interface javax.security.auth.spi.LoginModule
© Copyright IBM Corporation 2006, 2015. All rights reserved.