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.plugins |
Security plugins have moved to the jbosssx cvs module.
|
org.jboss.security.plugins.authorization | |
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 |
---|---|
<T> Set<T> |
RoleBasedACLProviderImpl.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity) |
<T> Set<T> |
ACLProviderImpl.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity) |
<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.
|
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.
|
boolean |
ACLProviderImpl.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission) |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AllPermitAuthorizationModule.abort() |
boolean |
AllDenyAuthorizationModule.abort() |
boolean |
AbstractAuthorizationModule.abort() |
boolean |
AllPermitAuthorizationModule.commit() |
boolean |
AllDenyAuthorizationModule.commit() |
boolean |
AbstractAuthorizationModule.commit() |
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 |
PicketBoxAuthorizationModule.abort() |
boolean |
PicketBoxAuthorizationModule.commit() |
Copyright © 2019 JBoss by Red Hat. All rights reserved.