Package org.apache.activemq.jaas
Class GuestLoginModule
java.lang.Object
org.apache.activemq.jaas.GuestLoginModule
- All Implemented Interfaces:
LoginModule
Always login the user with a default 'guest' identity.
Useful for unauthenticated communication channels being used in the
same broker as authenticated ones.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabort()booleancommit()voidinitialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) booleanlogin()booleanlogout()
-
Constructor Details
-
GuestLoginModule
public GuestLoginModule()
-
-
Method Details
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map 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
-