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,
RemotingConnection remotingConnection)
is this a valid user.
|
String |
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 remotingConnection)
Determine whether the given user is valid and whether they have
the correct role for the given destination address.
|
getDomain, init, validateUser, validateUserAndRole
String validateUser(String user, String password, RemotingConnection remotingConnection)
ActiveMQSecurityManager.validateUser(String, String)
.user
- the userpassword
- the users passwordremotingConnection
- String 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 remotingConnection)
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 authorizationremotingConnection
- the user's connectionCopyright © 2020 The Apache Software Foundation. All rights reserved.