JBoss Security SPI - Aggregator 2.0.4.SP8

Uses of Class
org.jboss.security.authorization.AuthorizationException

Packages that use AuthorizationException
org.jboss.security The basic security interfaces and classes are now located in the jbosssx module. 
org.jboss.security.acl   
org.jboss.security.authorization   
 

Uses of AuthorizationException in org.jboss.security
 

Methods in org.jboss.security that throw AuthorizationException
 int AuthorizationManager.authorize(Resource resource)
          Authorize a resource Note: The implementation will try to derive the authenticated subject by some means
 int AuthorizationManager.authorize(Resource resource, Identity identity, Permission permission)
           Authorize access to the resource if the specified identity has the proper permissions.
 int AuthorizationManager.authorize(Resource resource, Subject subject)
          Authorize a resource for an authenticated subject
 int AuthorizationManager.authorize(Resource resource, Subject subject, Group roleGroup)
          Authorize a resource given a Group of Principals representing roles
 int AuthorizationManager.authorize(Resource resource, Subject subject, RoleGroup role)
          Authorize a resource given a role
<T> EntitlementHolder<T>
AuthorizationManager.getEntitlements(Class<T> clazz, Resource resource, Identity identity)
          Instance Based Security Get all the entitlements assigned to the components of a Resource
 

Uses of AuthorizationException in org.jboss.security.acl
 

Methods in org.jboss.security.acl that throw AuthorizationException
abstract  int ACLContext.authorize(Resource resource, Identity identity, Permission permission)
           Authorize access to the resource if the specified identity has the proper permissions.
<T> Set<T>
ACLProvider.getEntitlements(Class<T> clazz, Resource resource, Identity identity)
           For a given Resource and an Identity, return all the entitlements Eg: A portal page can consist of say 10 components such as windows, subpages etc.
abstract
<T> EntitlementHolder<T>
ACLContext.getEntitlements(Class<T> clazz, Resource resource, Identity identity)
          Instance Based Security Get all the entitlements assigned to the components of a Resource
 boolean ACLProvider.isAccessGranted(Resource resource, Identity identity, ACLPermission permission)
           Checks if the given identity has the permissions needed to access the specified resource.
 

Uses of AuthorizationException in org.jboss.security.authorization
 

Methods in org.jboss.security.authorization that throw AuthorizationException
 boolean AuthorizationModule.abort()
          Abort the Authorization Process
abstract  int AuthorizationContext.authorize(Resource resource)
          Authorize the Resource
abstract  int AuthorizationContext.authorize(Resource resource, Subject subject, RoleGroup roles)
          Authorize the resource
 boolean AuthorizationModule.commit()
          Overall authorization process has succeeded.
 


JBoss Security SPI - Aggregator 2.0.4.SP8

Copyright © 2012 JBoss Inc.. All Rights Reserved.