Class AuthenticationSwiftletImpl
java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
com.swiftmq.impl.auth.standard.AuthenticationSwiftletImpl
public class AuthenticationSwiftletImpl
extends com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
-
Field Summary
Fields inherited from class com.swiftmq.swiftlet.Swiftlet
STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTopicAuthenticationDelegate(com.swiftmq.swiftlet.auth.AuthenticationDelegate authenticationDelegate) protected ObjectcreateLoginId(String userName) protected com.swiftmq.swiftlet.auth.ResourceLimitGroupcreateResourceLimitGroup(String userName) getPassword(String userName) voidvoidremoveTopicAuthenticationDelegate(com.swiftmq.swiftlet.auth.AuthenticationDelegate authenticationDelegate) protected voidshutdown()protected voidstartup(com.swiftmq.mgmt.Configuration config) voidverifyHostLogin(String userName, String hostname) voidverifyQueueBrowserCreation(String queueName, Object loginId) voidverifyQueueCreation(Object loginId) voidverifyQueueReceiverSubscription(String queueName, Object loginId) voidverifyQueueSenderSubscription(String queueName, Object loginId) voidverifySetClientId(Object loginId) voidverifyTopicDurableSubscriberCreation(String topicName, Object loginId) voidverifyTopicReceiverSubscription(String topicName, Object loginId) voidverifyTopicSenderSubscription(String topicName, Object loginId) Methods inherited from class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
createActiveLoginMethods inherited from class com.swiftmq.swiftlet.Swiftlet
getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, standby
-
Constructor Details
-
AuthenticationSwiftletImpl
public AuthenticationSwiftletImpl()
-
-
Method Details
-
getPassword
-
verifyHostLogin
public void verifyHostLogin(String userName, String hostname) throws com.swiftmq.swiftlet.auth.AuthenticationException, com.swiftmq.swiftlet.auth.ResourceLimitException - Specified by:
verifyHostLoginin classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet- Throws:
com.swiftmq.swiftlet.auth.AuthenticationExceptioncom.swiftmq.swiftlet.auth.ResourceLimitException
-
logout
-
verifySetClientId
public void verifySetClientId(Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException - Specified by:
verifySetClientIdin classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet- Throws:
com.swiftmq.swiftlet.auth.AuthenticationException
-
verifyQueueCreation
public void verifyQueueCreation(Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException - Specified by:
verifyQueueCreationin classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet- Throws:
com.swiftmq.swiftlet.auth.AuthenticationException
-
verifyQueueSenderSubscription
-
verifyQueueReceiverSubscription
-
verifyQueueBrowserCreation
-
verifyTopicSenderSubscription
-
verifyTopicReceiverSubscription
-
verifyTopicDurableSubscriberCreation
public void verifyTopicDurableSubscriberCreation(String topicName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException - Specified by:
verifyTopicDurableSubscriberCreationin classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet- Throws:
com.swiftmq.swiftlet.auth.AuthenticationException
-
addTopicAuthenticationDelegate
public void addTopicAuthenticationDelegate(com.swiftmq.swiftlet.auth.AuthenticationDelegate authenticationDelegate) - Specified by:
addTopicAuthenticationDelegatein classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet
-
removeTopicAuthenticationDelegate
public void removeTopicAuthenticationDelegate(com.swiftmq.swiftlet.auth.AuthenticationDelegate authenticationDelegate) - Specified by:
removeTopicAuthenticationDelegatein classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet
-
createLoginId
-
createResourceLimitGroup
- Specified by:
createResourceLimitGroupin classcom.swiftmq.swiftlet.auth.AuthenticationSwiftlet
-
startup
protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.SwiftletException - Specified by:
startupin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-
shutdown
protected void shutdown() throws com.swiftmq.swiftlet.SwiftletException- Specified by:
shutdownin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-