Class SecurityManagerUtil
- java.lang.Object
-
- org.apache.activemq.artemis.utils.SecurityManagerUtil
-
public class SecurityManagerUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SecurityManagerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanauthorize(Subject subject, Set<Role> roles, CheckType checkType, String rolePrincipalClass)This method tries to match the RolePrincipals in the Subject with the provided Set of Roles and CheckTypestatic ObjectcreateGroupPrincipal(String name, String groupClass)static Set<RolePrincipal>getPrincipalsInRole(CheckType checkType, Set<Role> roles, String rolePrincipalClass)
-