public interface ActiveMQSecurityManager
Modifier and Type | Method and Description |
---|---|
default String |
getDomain() |
default ActiveMQSecurityManager |
init(Map<String,String> properties)
Initialize the manager with the given configuration properties.
|
boolean |
validateUser(String user,
String password)
is this a valid user.
|
boolean |
validateUserAndRole(String user,
String password,
Set<org.apache.activemq.artemis.core.security.Role> roles,
org.apache.activemq.artemis.core.security.CheckType checkType)
is this a valid user and do they have the correct role
|
default String getDomain()
boolean validateUser(String user, String password)
user
- the userpassword
- the users passwordboolean validateUserAndRole(String user, String password, Set<org.apache.activemq.artemis.core.security.Role> roles, org.apache.activemq.artemis.core.security.CheckType checkType)
user
- the userpassword
- the users passwordroles
- the roles the user hascheckType
- the type of check to performdefault ActiveMQSecurityManager init(Map<String,String> properties)
properties
- name/value pairs used to configure the ActiveMQSecurityManager instancethis
instanceCopyright © 2020 The Apache Software Foundation. All rights reserved.