Class WildFlySecurityManager
java.lang.Object
org.wildfly.extension.messaging.activemq.WildFlySecurityManager
- All Implemented Interfaces:
ActiveMQSecurityManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidateUser(String username, String password) is this a valid user.booleanis this a valid user and do they have the correct roleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManager
getDomain, getUserFromSubject, init
-
Constructor Details
-
WildFlySecurityManager
public WildFlySecurityManager()
-
-
Method Details
-
validateUser
Description copied from interface:ActiveMQSecurityManageris this a valid user.- Specified by:
validateUserin interfaceActiveMQSecurityManager- Parameters:
username- the userpassword- the users password- Returns:
trueif a valid user
-
validateUserAndRole
public boolean validateUserAndRole(String username, String password, Set<Role> roles, CheckType checkType) Description copied from interface:ActiveMQSecurityManageris this a valid user and do they have the correct role- Specified by:
validateUserAndRolein interfaceActiveMQSecurityManager- Parameters:
username- the userpassword- the users passwordroles- the roles the user hascheckType- the type of check to perform- Returns:
trueif the user is valid and they have the correct roles
-