Class GuestLoginModule
java.lang.Object
org.apache.activemq.artemis.spi.core.security.jaas.GuestLoginModule
- All Implemented Interfaces:
LoginModule, AuditLoginModule
Always login the user with a default 'guest' identity.
Useful for unauthenticated communication channels being used in the same broker as authenticated ones.
-
Constructor Details
-
GuestLoginModule
public GuestLoginModule()
-
-
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
-