|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Resource | |
---|---|
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.javaee |
Uses of Resource in org.jboss.security |
---|
Methods in org.jboss.security with parameters of type Resource | ||
---|---|---|
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 |
|
|
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 Resource in org.jboss.security.acl |
---|
Methods in org.jboss.security.acl that return Resource | |
---|---|
Resource |
ACL.getResource()
Obtains a reference to the resource being protected by this ACL. |
Methods in org.jboss.security.acl with parameters of type Resource | ||
---|---|---|
abstract int |
ACLContext.authorize(Resource resource,
Identity identity,
Permission permission)
Authorize access to the resource if the specified identity has the proper permissions. |
|
ACL |
ACLPersistenceStrategy.createACL(Resource resource)
Creates a new ACL and associates it to the given resource. |
|
ACL |
ACLPersistenceStrategy.createACL(Resource resource,
Collection<ACLEntry> entries)
Creates a new ACL with the specified entries and associates it to the given resource. |
|
void |
ACLRegistration.deRegisterACL(Resource resource)
Deregisters the ACL associated with the specified resource. |
|
ACL |
ACLPersistenceStrategy.getACL(Resource resource)
Obtains a reference to the ACL associated to the given resource. |
|
abstract
|
ACLContext.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity)
Instance Based Security Get all the entitlements assigned to the components of a Resource |
|
|
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. |
|
boolean |
ACLProvider.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission)
Checks if the given identity has the permissions needed to access the specified resource. |
|
void |
ACLRegistration.registerACL(Resource resource)
Registers an ACL associated with the specified Resource . |
|
void |
ACLRegistration.registerACL(Resource resource,
Collection<ACLEntry> entries)
Registers an ACL associated with the specified Resource using the supplied entries. |
|
boolean |
ACLPersistenceStrategy.removeACL(Resource resource)
Removes the ACL associated with the specified resource. |
Uses of Resource in org.jboss.security.authorization |
---|
Methods in org.jboss.security.authorization with parameters of type Resource | |
---|---|
abstract int |
AuthorizationContext.authorize(Resource resource)
Authorize the Resource |
int |
AuthorizationModule.authorize(Resource resource)
Authorize the resource |
abstract int |
AuthorizationContext.authorize(Resource resource,
Subject subject,
RoleGroup roles)
Authorize the resource |
Uses of Resource in org.jboss.security.javaee |
---|
Methods in org.jboss.security.javaee with parameters of type Resource | |
---|---|
protected void |
AbstractJavaEEHelper.authorizationAudit(String level,
Resource resource,
Exception e)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |