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<Role> roles,
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.
|
validateUser, validateUserAndRole
boolean validateUser(String user, String password, X509Certificate[] certificates)
ActiveMQSecurityManager.validateUser(String, String)
.user
- the userpassword
- the users passwordboolean validateUserAndRole(String user, String password, Set<Role> roles, 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 © 2017 JBoss by Red Hat. All rights reserved.