Class PrincipalConversionLoginModule
java.lang.Object
org.apache.activemq.artemis.spi.core.security.jaas.PrincipalConversionLoginModule
- All Implemented Interfaces:
LoginModule, AuditLoginModule
populate an empty (no UserPrincipal) subject with UserPrincipal seeded from existing principal Useful when a third
party login module generated principal needs to be accepted as-is by the broker
-
Field Details
-
PRINCIPAL_CLASS_LIST
- See Also:
-
-
Constructor Details
-
PrincipalConversionLoginModule
public PrincipalConversionLoginModule()
-
-
Method Details
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) - Specified by:
initializein interfaceLoginModule
-
login
- Specified by:
loginin interfaceLoginModule- Throws:
LoginException
-
commit
- Specified by:
commitin interfaceLoginModule- Throws:
LoginException
-
abort
- Specified by:
abortin interfaceLoginModule- Throws:
LoginException
-
logout
- Specified by:
logoutin interfaceLoginModule- Throws:
LoginException
-