Class WildFlySecurityManager

java.lang.Object
org.wildfly.extension.messaging.activemq.WildFlySecurityManager
All Implemented Interfaces:
ActiveMQSecurityManager

public class WildFlySecurityManager extends Object implements ActiveMQSecurityManager
  • Constructor Details

    • WildFlySecurityManager

      public WildFlySecurityManager()
  • Method Details

    • validateUser

      public boolean validateUser(String username, String password)
      Description copied from interface: ActiveMQSecurityManager
      is this a valid user.
      Specified by:
      validateUser in interface ActiveMQSecurityManager
      Parameters:
      username - the user
      password - the users password
      Returns:
      true if a valid user
    • validateUserAndRole

      public boolean validateUserAndRole(String username, String password, Set<Role> roles, CheckType checkType)
      Description copied from interface: ActiveMQSecurityManager
      is this a valid user and do they have the correct role
      Specified by:
      validateUserAndRole in interface ActiveMQSecurityManager
      Parameters:
      username - the user
      password - the users password
      roles - the roles the user has
      checkType - the type of check to perform
      Returns:
      true if the user is valid and they have the correct roles