public interface ActiveMQSecurityManager2 extends ActiveMQSecurityManager
ActiveMQSecurityManager that adds
the ability to perform authorization taking the destination address
into account.| Modifier and Type | Method and Description |
|---|---|
boolean |
validateUser(String user,
String password,
X509Certificate[] certificates)
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,
String address,
RemotingConnection connection)
Determine whether the given user is valid and whether they have
the correct role for the given destination address.
|
getDomain, init, validateUser, validateUserAndRoleboolean validateUser(String user, String password, X509Certificate[] certificates)
ActiveMQSecurityManager.validateUser(String, String).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, String address, RemotingConnection connection)
ActiveMQSecurityManager.validateUserAndRole(String, String, Set, CheckType).user - the userpassword - the user's passwordroles - the user's rolescheckType - which permission to validateaddress - the address for which to perform authorizationconnection - the user's connectionCopyright © 2020 The Apache Software Foundation. All rights reserved.