public class AuthorizationHelper extends Object
Constructor and Description |
---|
AuthorizationHelper(GlobalSecurityConfiguration security,
AuditContext context,
String name) |
AuthorizationHelper(GlobalSecurityConfiguration globalConfiguration,
AuditContext context,
String name,
ConcurrentMap<CachePrincipalPair,SubjectACL> aclCache) |
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(AuthorizationConfiguration configuration,
AuthorizationPermission perm) |
void |
checkPermission(AuthorizationConfiguration configuration,
Subject subject,
AuthorizationPermission perm,
String role) |
void |
checkPermission(AuthorizationPermission perm) |
void |
checkPermission(AuthorizationPermission perm,
String role) |
void |
checkPermission(Subject subject,
AuthorizationPermission perm) |
public AuthorizationHelper(GlobalSecurityConfiguration globalConfiguration, AuditContext context, String name, ConcurrentMap<CachePrincipalPair,SubjectACL> aclCache)
public AuthorizationHelper(GlobalSecurityConfiguration security, AuditContext context, String name)
public void checkPermission(AuthorizationPermission perm)
public void checkPermission(AuthorizationPermission perm, String role)
public void checkPermission(AuthorizationConfiguration configuration, AuthorizationPermission perm)
public void checkPermission(Subject subject, AuthorizationPermission perm)
public void checkPermission(AuthorizationConfiguration configuration, Subject subject, AuthorizationPermission perm, String role)
Copyright © 2021 JBoss by Red Hat. All rights reserved.