当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 identity management component 英文版文档
IdentityLoginModule (jbpm-identity-3.1.3) - JBoss JBPM 3.1.3 identity management component 英文版文档
org.jbpm.identity.security
Class IdentityLoginModule
java.lang.Object
org.jbpm.identity.security.IdentityLoginModule
- All Implemented Interfaces:
- javax.security.auth.spi.LoginModule
public class IdentityLoginModule
- extends java.lang.Object
- implements javax.security.auth.spi.LoginModule
jaas login module that, in case of successfull verification, adds the
User
as a principal to the subject. In case
of successfull verification, the Username
and Password
will be associated as public and private credentials respectively.
Method Summary |
boolean |
abort()
|
boolean |
commit()
|
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
|
boolean |
login()
|
boolean |
logout()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityLoginModule
public IdentityLoginModule()
initialize
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
- Specified by:
initialize
in interface javax.security.auth.spi.LoginModule
login
public boolean login()
throws javax.security.auth.login.LoginException
- Specified by:
login
in interface javax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
commit
public boolean commit()
throws javax.security.auth.login.LoginException
- Specified by:
commit
in interface javax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
abort
public boolean abort()
throws javax.security.auth.login.LoginException
- Specified by:
abort
in interface javax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
logout
public boolean logout()
throws javax.security.auth.login.LoginException
- Specified by:
logout
in interface javax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
Version : jbpm-identity-3.1.3