Class AuthorizationManagerHelper
- java.lang.Object
-
- org.uberfire.security.client.authz.AuthorizationManagerHelper
-
@ApplicationScoped public class AuthorizationManagerHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthorizationManagerHelper(org.uberfire.security.authz.AuthorizationManager authorizationManager, org.jboss.errai.security.shared.api.identity.User user)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanauthorize(String permission)static booleanauthorize(String resourceType, String action)static booleanauthorize(String permission, org.uberfire.security.authz.VotingStrategy votingStrategy)static booleanauthorize(org.uberfire.security.authz.Permission permission)static booleanauthorize(org.uberfire.security.authz.Permission permission, org.uberfire.security.authz.VotingStrategy votingStrategy)static booleanauthorize(org.uberfire.security.Resource resource)static booleanauthorize(org.uberfire.security.Resource resource, String action)static booleanauthorize(org.uberfire.security.Resource resource, org.uberfire.security.authz.VotingStrategy votingStrategy)static booleanauthorize(org.uberfire.security.Resource resource, org.uberfire.security.ResourceAction action)static booleanauthorize(org.uberfire.security.Resource resource, org.uberfire.security.ResourceAction action, org.uberfire.security.authz.VotingStrategy votingStrategy)static booleanauthorize(org.uberfire.security.ResourceType resourceType, org.uberfire.security.ResourceAction action)static booleanauthorize(org.uberfire.security.ResourceType resourceType, org.uberfire.security.ResourceAction action, org.uberfire.security.authz.VotingStrategy votingStrategy)static org.uberfire.security.authz.AuthorizationCheckcheck(String permission)static org.uberfire.security.authz.AuthorizationCheckcheck(String permission, org.uberfire.security.authz.VotingStrategy votingStrategy)static org.uberfire.security.authz.AuthorizationCheckcheck(org.uberfire.security.Resource target)static org.uberfire.security.authz.AuthorizationCheckcheck(org.uberfire.security.Resource target, org.uberfire.security.authz.VotingStrategy votingStrategy)org.uberfire.security.authz.AuthorizationManagergetAuthorizationManager()org.jboss.errai.security.shared.api.identity.UsergetUser()
-
-
-
Method Detail
-
authorize
public static boolean authorize(org.uberfire.security.Resource resource)
-
authorize
public static boolean authorize(org.uberfire.security.Resource resource, String action)
-
authorize
public static boolean authorize(org.uberfire.security.Resource resource, org.uberfire.security.ResourceAction action)
-
authorize
public static boolean authorize(org.uberfire.security.ResourceType resourceType, org.uberfire.security.ResourceAction action)
-
authorize
public static boolean authorize(org.uberfire.security.Resource resource, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
authorize
public static boolean authorize(org.uberfire.security.Resource resource, org.uberfire.security.ResourceAction action, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
authorize
public static boolean authorize(org.uberfire.security.ResourceType resourceType, org.uberfire.security.ResourceAction action, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
authorize
public static boolean authorize(String permission)
-
authorize
public static boolean authorize(org.uberfire.security.authz.Permission permission)
-
authorize
public static boolean authorize(String permission, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
authorize
public static boolean authorize(org.uberfire.security.authz.Permission permission, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
check
public static org.uberfire.security.authz.AuthorizationCheck check(org.uberfire.security.Resource target)
-
check
public static org.uberfire.security.authz.AuthorizationCheck check(org.uberfire.security.Resource target, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
check
public static org.uberfire.security.authz.AuthorizationCheck check(String permission)
-
check
public static org.uberfire.security.authz.AuthorizationCheck check(String permission, org.uberfire.security.authz.VotingStrategy votingStrategy)
-
getAuthorizationManager
public org.uberfire.security.authz.AuthorizationManager getAuthorizationManager()
-
getUser
public org.jboss.errai.security.shared.api.identity.User getUser()
-
-