Uses of Interface
org.jboss.security.authorization.Resource
-
Packages that use Resource Package Description org.jboss.security The basic security interfaces and classes are now located in the jbosssx module.org.jboss.security.acl org.jboss.security.authorization org.jboss.security.authorization.modules org.jboss.security.authorization.modules.ejb org.jboss.security.authorization.modules.web org.jboss.security.authorization.resources org.jboss.security.javaee org.jboss.security.plugins Security plugins have moved to the jbosssx cvs module.org.jboss.security.plugins.authorization org.jboss.security.plugins.javaee org.picketbox.core.authorization.resources org.picketbox.plugins.authorization -
-
Uses of Resource in org.jboss.security
Methods in org.jboss.security with parameters of type Resource Modifier and Type Method Description intAuthorizationManager. authorize(Resource resource)Authorize a resource Note: The implementation will try to derive the authenticated subject by some meansintAuthorizationManager. authorize(Resource resource, Subject subject)Authorize a resource for an authenticated subjectintAuthorizationManager. authorize(Resource resource, Subject subject, Group roleGroup)Authorize a resource given a Group of Principals representing rolesintAuthorizationManager. authorize(Resource resource, Subject subject, RoleGroup role)Authorize a resource given a role -
Uses of Resource in org.jboss.security.acl
Methods in org.jboss.security.acl that return Resource Modifier and Type Method Description ResourceACL. getResource()Obtains a reference to the resource being protected by this ACL.ResourceACLImpl. getResource()ResourceEntitlementEntry. getResource()ResourceACLResourceFactory. instantiateResource(String resourceClassName, Object id)Creates an instance of theResourcewith the specified class name and id.Methods in org.jboss.security.acl with parameters of type Resource Modifier and Type Method Description ACLACLPersistenceStrategy. createACL(Resource resource)Creates a newACLand associates it to the given resource.ACLACLPersistenceStrategy. createACL(Resource resource, Collection<ACLEntry> entries)Creates a newACLwith the specified entries and associates it to the given resource.ACLJPAPersistenceStrategy. createACL(Resource resource)ACLJPAPersistenceStrategy. createACL(Resource resource, Collection<ACLEntry> entries)voidACLRegistration. deRegisterACL(Resource resource)Deregisters theACLassociated with the specified resource.protected voidACLProviderImpl. fillEntitlements(Set<EntitlementEntry> entitlements, Resource resource, String identityName, ACLPermission permission)Helper method that populates theentitlementscollection as it traverses through the resources.ACLACLPersistenceStrategy. getACL(Resource resource)Obtains a reference to theACLassociated to the given resource.ACLJPAPersistenceStrategy. getACL(Resource resource)<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.<T> Set<T>ACLProviderImpl. getEntitlements(Class<T> clazz, Resource resource, Identity identity)<T> Set<T>RoleBasedACLProviderImpl. getEntitlements(Class<T> clazz, Resource resource, Identity identity)protected ACLPermissionACLProviderImpl. getInitialPermissions(Resource resource, String identityName)This method retrieves the permissions the specified identity has over the specified resource.static StringUtil. getResourceAsString(Resource resource)Returns aStringrepresentation of the specified resource.booleanACLProvider. isAccessGranted(Resource resource, Identity identity, ACLPermission permission)Checks if the given identity has the permissions needed to access the specified resource.booleanACLProviderImpl. isAccessGranted(Resource resource, Identity identity, ACLPermission permission)booleanRoleBasedACLProviderImpl. isAccessGranted(Resource resource, Identity identity, ACLPermission permission)This method overrides the default implementation to use roles instead of the identity name when checking for permissions.voidACLRegistration. registerACL(Resource resource)Registers anACLassociated with the specifiedResource.voidACLRegistration. registerACL(Resource resource, Collection<ACLEntry> entries)Registers anACLassociated with the specifiedResourceusing the supplied entries.booleanACLPersistenceStrategy. removeACL(Resource resource)Removes theACLassociated with the specified resource.booleanJPAPersistenceStrategy. removeACL(Resource resource)voidACLImpl. setResource(Resource resource)Sets the resource associated with thisACL.Constructors in org.jboss.security.acl with parameters of type Resource Constructor Description ACLImpl(Resource resource)Builds an instance ofACLImplfor the specified resource.ACLImpl(Resource resource, Collection<ACLEntry> entries)Builds an instance ofACLImplfor the specified resource, and initialize it with the specified entries.EntitlementEntry(Resource resource, ACLPermission permission, String identityOrRole)Creates an instance ofEntitlementEntrywith the specified resource and permissions. -
Uses of Resource in org.jboss.security.authorization
Methods in org.jboss.security.authorization with parameters of type Resource Modifier and Type Method Description abstract intAuthorizationContext. authorize(Resource resource)Authorize the Resourceabstract intAuthorizationContext. authorize(Resource resource, Subject subject, RoleGroup roles)Authorize the resourceintAuthorizationModule. authorize(Resource resource)Authorize the resource -
Uses of Resource in org.jboss.security.authorization.modules
Methods in org.jboss.security.authorization.modules with parameters of type Resource Modifier and Type Method Description abstract intAbstractAuthorizationModule. authorize(Resource resource)abstract intAbstractJACCModuleDelegate. authorize(Resource resource, Subject subject, RoleGroup role)intAllDenyAuthorizationModule. authorize(Resource resource)intAllPermitAuthorizationModule. authorize(Resource resource)abstract intAuthorizationModuleDelegate. authorize(Resource resource, Subject subject, RoleGroup role)intDelegatingAuthorizationModule. authorize(Resource resource)intJACCAuthorizationModule. authorize(Resource resource)intXACMLAuthorizationModule. authorize(Resource resource)protected intAbstractAuthorizationModule. invokeDelegate(Resource resource)Subclasses can use this method to leave the authorization decision to the delegate configured -
Uses of Resource in org.jboss.security.authorization.modules.ejb
Methods in org.jboss.security.authorization.modules.ejb with parameters of type Resource Modifier and Type Method Description intEJBJACCPolicyModuleDelegate. authorize(Resource resource, Subject callerSubject, RoleGroup role)intEJBPolicyModuleDelegate. authorize(Resource resource, Subject callerSubject, RoleGroup role)intEJBXACMLPolicyModuleDelegate. authorize(Resource resource, Subject callerSubject, RoleGroup role) -
Uses of Resource in org.jboss.security.authorization.modules.web
Methods in org.jboss.security.authorization.modules.web with parameters of type Resource Modifier and Type Method Description intWebAuthorizationModule. authorize(Resource resource)intWebJACCPolicyModuleDelegate. authorize(Resource resource, Subject callerSubject, RoleGroup role)intWebPolicyModuleDelegate. authorize(Resource resource, Subject subject, RoleGroup role)intWebXACMLPolicyModuleDelegate. authorize(Resource resource, Subject subject, RoleGroup role) -
Uses of Resource in org.jboss.security.authorization.resources
Classes in org.jboss.security.authorization.resources that implement Resource Modifier and Type Class Description classEJBResourceRepresents an EJB ResourceclassJavaEEResourceRepresents a Java EE ResourceclassWebResourceRepresents a Resource for the Web Layer -
Uses of Resource in org.jboss.security.javaee
Methods in org.jboss.security.javaee with parameters of type Resource Modifier and Type Method Description protected voidAbstractJavaEEHelper. authorizationAudit(String level, Resource resource, Exception e)abstract booleanAbstractEJBAuthorizationHelper. authorize(Resource resource)Authorize the EJBabstract booleanAbstractEJBAuthorizationHelper. isCallerInRole(Resource resource, String roleName)Check if the caller is in any of the roles -
Uses of Resource in org.jboss.security.plugins
Methods in org.jboss.security.plugins with parameters of type Resource Modifier and Type Method Description intJBossAuthorizationManager. authorize(Resource resource)intJBossAuthorizationManager. authorize(Resource resource, Subject subject)intJBossAuthorizationManager. authorize(Resource resource, Subject subject, Group roleGroup)intJBossAuthorizationManager. authorize(Resource resource, Subject subject, RoleGroup role) -
Uses of Resource in org.jboss.security.plugins.authorization
Methods in org.jboss.security.plugins.authorization with parameters of type Resource Modifier and Type Method Description intJBossAuthorizationContext. authorize(Resource resource)Authorize the ResourceintJBossAuthorizationContext. authorize(Resource resource, Subject subject, RoleGroup callerRoles) -
Uses of Resource in org.jboss.security.plugins.javaee
Methods in org.jboss.security.plugins.javaee with parameters of type Resource Modifier and Type Method Description booleanEJBAuthorizationHelper. authorize(Resource resource)booleanEJBAuthorizationHelper. isCallerInRole(Resource resource, String roleName) -
Uses of Resource in org.picketbox.core.authorization.resources
Classes in org.picketbox.core.authorization.resources that implement Resource Modifier and Type Class Description classPOJOResourceA resource denoting a POJO -
Uses of Resource in org.picketbox.plugins.authorization
Methods in org.picketbox.plugins.authorization with parameters of type Resource Modifier and Type Method Description intPicketBoxAuthorizationModule. authorize(Resource resource)
-