public interface ActiveMQSecurityManager3 extends ActiveMQSecurityManager
ActiveMQSecurityManager
and
ActiveMQSecurityManager2
that adds the ability to determine
the identity of the validated user.Modifier and Type | Method and Description |
---|---|
String |
validateUser(String user,
String password,
X509Certificate[] certificates)
is this a valid user.
|
String |
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
String validateUser(String user, String password, X509Certificate[] certificates)
ActiveMQSecurityManager.validateUser(String, String)
.user
- the userpassword
- the users passwordString 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.