Package org.apache.felix.jaas.boot
Class ProxyLoginModule
- java.lang.Object
-
- org.apache.felix.jaas.boot.ProxyLoginModule
-
- All Implemented Interfaces:
javax.security.auth.spi.LoginModule
public class ProxyLoginModule extends java.lang.Object implements javax.security.auth.spi.LoginModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProxyLoginModule.BootLoginModuleFactory
Factory interface to create LoginModule instance.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_LOGIN_MODULE_FACTORY
-
Constructor Summary
Constructors Constructor Description ProxyLoginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
abort()
boolean
commit()
void
initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map<java.lang.String,?> sharedState, java.util.Map<java.lang.String,?> options)
boolean
login()
boolean
logout()
-
-
-
Field Detail
-
PROP_LOGIN_MODULE_FACTORY
public static final java.lang.String PROP_LOGIN_MODULE_FACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map<java.lang.String,?> sharedState, java.util.Map<java.lang.String,?> options)
- Specified by:
initialize
in interfacejavax.security.auth.spi.LoginModule
-
login
public boolean login() throws javax.security.auth.login.LoginException
- Specified by:
login
in interfacejavax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
-
commit
public boolean commit() throws javax.security.auth.login.LoginException
- Specified by:
commit
in interfacejavax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
-
abort
public boolean abort() throws javax.security.auth.login.LoginException
- Specified by:
abort
in interfacejavax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
-
logout
public boolean logout() throws javax.security.auth.login.LoginException
- Specified by:
logout
in interfacejavax.security.auth.spi.LoginModule
- Throws:
javax.security.auth.login.LoginException
-
-