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 |
Modifier and Type | Method and Description |
---|---|
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,
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
|
Modifier and Type | Method and Description |
---|---|
Resource |
ACL.getResource()
Obtains a reference to the resource being protected by this ACL.
|
Resource |
EntitlementEntry.getResource() |
Resource |
ACLImpl.getResource() |
Resource |
ACLResourceFactory.instantiateResource(String resourceClassName,
Object id)
Creates an instance of the
Resource with the specified class name and id. |
Modifier and Type | Method and Description |
---|---|
ACL |
ACLPersistenceStrategy.createACL(Resource resource)
Creates a new
ACL and associates it to the given resource. |
ACL |
JPAPersistenceStrategy.createACL(Resource resource) |
ACL |
ACLPersistenceStrategy.createACL(Resource resource,
Collection<ACLEntry> entries)
Creates a new
ACL with the specified entries and associates it to the given resource. |
ACL |
JPAPersistenceStrategy.createACL(Resource resource,
Collection<ACLEntry> entries) |
void |
ACLRegistration.deRegisterACL(Resource resource)
Deregisters the
ACL associated with the specified resource. |
protected void |
ACLProviderImpl.fillEntitlements(Set<EntitlementEntry> entitlements,
Resource resource,
String identityName,
ACLPermission permission)
Helper method that populates the
entitlements collection as it traverses through the resources. |
ACL |
ACLPersistenceStrategy.getACL(Resource resource)
Obtains a reference to the
ACL associated to the given resource. |
ACL |
JPAPersistenceStrategy.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 ACLPermission |
ACLProviderImpl.getInitialPermissions(Resource resource,
String identityName)
This method retrieves the permissions the specified identity has over the specified resource.
|
static String |
Util.getResourceAsString(Resource resource)
Returns a
String representation of the specified resource. |
boolean |
ACLProvider.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission)
Checks if the given identity has the permissions needed to access the specified resource.
|
boolean |
ACLProviderImpl.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission) |
boolean |
RoleBasedACLProviderImpl.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.
|
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. |
boolean |
JPAPersistenceStrategy.removeACL(Resource resource) |
void |
ACLImpl.setResource(Resource resource)
Sets the resource associated with this
ACL . |
Constructor and Description |
---|
ACLImpl(Resource resource)
Builds an instance of
ACLImpl for the specified resource. |
ACLImpl(Resource resource,
Collection<ACLEntry> entries)
Builds an instance of
ACLImpl for the specified resource, and initialize it with the specified entries. |
EntitlementEntry(Resource resource,
ACLPermission permission,
String identityOrRole)
Creates an instance of
EntitlementEntry with the specified resource and permissions. |
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
abstract int |
AbstractAuthorizationModule.authorize(Resource resource) |
int |
AllDenyAuthorizationModule.authorize(Resource resource) |
int |
AllPermitAuthorizationModule.authorize(Resource resource) |
int |
DelegatingAuthorizationModule.authorize(Resource resource) |
int |
JACCAuthorizationModule.authorize(Resource resource) |
int |
XACMLAuthorizationModule.authorize(Resource resource) |
abstract int |
AuthorizationModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
abstract int |
AbstractJACCModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
protected int |
AbstractAuthorizationModule.invokeDelegate(Resource resource)
Subclasses can use this method to leave the authorization
decision to the delegate configured
|
Modifier and Type | Method and Description |
---|---|
int |
EJBXACMLPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
int |
EJBJACCPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
int |
EJBPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
Modifier and Type | Method and Description |
---|---|
int |
WebAuthorizationModule.authorize(Resource resource) |
int |
WebPolicyModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
int |
WebXACMLPolicyModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
int |
WebJACCPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
Modifier and Type | Class and Description |
---|---|
class |
EJBResource
Represents an EJB Resource
|
class |
JavaEEResource
Represents a Java EE Resource
|
class |
WebResource
Represents a Resource for the Web Layer
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJavaEEHelper.authorizationAudit(String level,
Resource resource,
Exception e) |
abstract boolean |
AbstractEJBAuthorizationHelper.authorize(Resource resource)
Authorize the EJB
|
abstract boolean |
AbstractEJBAuthorizationHelper.isCallerInRole(Resource resource,
String roleName)
Check if the caller is in any of the roles
|
Modifier and Type | Method and Description |
---|---|
int |
JBossAuthorizationManager.authorize(Resource resource) |
int |
JBossAuthorizationManager.authorize(Resource resource,
Subject subject) |
int |
JBossAuthorizationManager.authorize(Resource resource,
Subject subject,
Group roleGroup) |
int |
JBossAuthorizationManager.authorize(Resource resource,
Subject subject,
RoleGroup role) |
Modifier and Type | Method and Description |
---|---|
int |
JBossAuthorizationContext.authorize(Resource resource)
Authorize the Resource
|
int |
JBossAuthorizationContext.authorize(Resource resource,
Subject subject,
RoleGroup callerRoles) |
Modifier and Type | Method and Description |
---|---|
boolean |
EJBAuthorizationHelper.authorize(Resource resource) |
boolean |
EJBAuthorizationHelper.isCallerInRole(Resource resource,
String roleName) |
Modifier and Type | Class and Description |
---|---|
class |
POJOResource
A resource denoting a POJO
|
Modifier and Type | Method and Description |
---|---|
int |
PicketBoxAuthorizationModule.authorize(Resource resource) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.