public interface ActiveMQSecurityManager5 extends ActiveMQSecurityManager
ActiveMQSecurityManager4that integrates with the new Subject caching functionality.
|Modifier and Type||Method and Description|
is this a valid user.
Determine whether the given user has the correct role for the given check type.
Subject authenticate(String user, String password, RemotingConnection remotingConnection, String securityDomain)
user- the user
password- the user's password
remotingConnection- the user's connection which contains any corresponding SSL certs
securityDomain- the name of the JAAS security domain to use (can be null)
ActiveMQSecurityManager.validateUserAndRole(String, String, Set, CheckType).
subject- the Subject to authorize
roles- the roles configured in the security-settings
checkType- which permission to validate
address- the address (or FQQN) to grant access to
Copyright © 2021 JBoss by Red Hat. All rights reserved.