| 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 |
| 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,
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2013 JBoss Inc.. All Rights Reserved.