public class SecurityManagerUtil extends Object
| Constructor and Description |
|---|
SecurityManagerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
authorize(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 CheckType
|
static Object |
createGroupPrincipal(String name,
String groupClass) |
static Set<RolePrincipal> |
getPrincipalsInRole(CheckType checkType,
Set<Role> roles,
String rolePrincipalClass) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.