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<Role> roles,
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<Role> roles, 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 © 2021 JBoss by Red Hat. All rights reserved.