public interface ActiveMQSecurityManager4 extends ActiveMQSecurityManager
ActiveMQSecurityManager3
that adds the ability to specify the JAAS domain per call.Modifier and Type | Method and Description |
---|---|
String |
validateUser(String user,
String password,
RemotingConnection remotingConnection,
String securityDomain)
is this a valid user.
|
String |
validateUserAndRole(String user,
String password,
Set<Role> roles,
CheckType checkType,
String address,
RemotingConnection remotingConnection,
String securityDomain)
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, String securityDomain)
ActiveMQSecurityManager.validateUser(String, String)
.user
- the userpassword
- the users passwordremotingConnection
- securityDomain
- the name of the JAAS security domain to use (can be null)String validateUserAndRole(String user, String password, Set<Role> roles, CheckType checkType, String address, RemotingConnection remotingConnection, String securityDomain)
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 connectionsecurityDomain
- the name of the JAAS security domain to use (can be null)Copyright © 2021 JBoss by Red Hat. All rights reserved.