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
  • Constructor Details

    • AuthenticationSwiftletImpl

      public AuthenticationSwiftletImpl()
  • Method Details

    • getPassword

      public String getPassword(String userName) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      getPassword in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyHostLogin

      public void verifyHostLogin(String userName, String hostname) throws com.swiftmq.swiftlet.auth.AuthenticationException, com.swiftmq.swiftlet.auth.ResourceLimitException
      Specified by:
      verifyHostLogin in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
      com.swiftmq.swiftlet.auth.ResourceLimitException
    • logout

      public void logout(String userName, Object loginId)
      Specified by:
      logout in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
    • verifySetClientId

      public void verifySetClientId(Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifySetClientId in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyQueueCreation

      public void verifyQueueCreation(Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyQueueCreation in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyQueueSenderSubscription

      public void verifyQueueSenderSubscription(String queueName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyQueueSenderSubscription in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyQueueReceiverSubscription

      public void verifyQueueReceiverSubscription(String queueName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyQueueReceiverSubscription in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyQueueBrowserCreation

      public void verifyQueueBrowserCreation(String queueName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyQueueBrowserCreation in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyTopicSenderSubscription

      public void verifyTopicSenderSubscription(String topicName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyTopicSenderSubscription in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyTopicReceiverSubscription

      public void verifyTopicReceiverSubscription(String topicName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyTopicReceiverSubscription in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • verifyTopicDurableSubscriberCreation

      public void verifyTopicDurableSubscriberCreation(String topicName, Object loginId) throws com.swiftmq.swiftlet.auth.AuthenticationException
      Specified by:
      verifyTopicDurableSubscriberCreation in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
      Throws:
      com.swiftmq.swiftlet.auth.AuthenticationException
    • addTopicAuthenticationDelegate

      public void addTopicAuthenticationDelegate(com.swiftmq.swiftlet.auth.AuthenticationDelegate authenticationDelegate)
      Specified by:
      addTopicAuthenticationDelegate in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
    • removeTopicAuthenticationDelegate

      public void removeTopicAuthenticationDelegate(com.swiftmq.swiftlet.auth.AuthenticationDelegate authenticationDelegate)
      Specified by:
      removeTopicAuthenticationDelegate in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
    • createLoginId

      protected Object createLoginId(String userName)
      Specified by:
      createLoginId in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
    • createResourceLimitGroup

      protected com.swiftmq.swiftlet.auth.ResourceLimitGroup createResourceLimitGroup(String userName)
      Specified by:
      createResourceLimitGroup in class com.swiftmq.swiftlet.auth.AuthenticationSwiftlet
    • startup

      protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.SwiftletException
      Specified by:
      startup in class com.swiftmq.swiftlet.Swiftlet
      Throws:
      com.swiftmq.swiftlet.SwiftletException
    • shutdown

      protected void shutdown() throws com.swiftmq.swiftlet.SwiftletException
      Specified by:
      shutdown in class com.swiftmq.swiftlet.Swiftlet
      Throws:
      com.swiftmq.swiftlet.SwiftletException