org.jboss.security.acl
Class ACLContext
java.lang.Object
org.jboss.security.acl.ACLContext
public abstract class ACLContext
- extends java.lang.Object
Represents a set of ACLProviders
- Since:
- Jan 30, 2008
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
|
Method Summary |
abstract
|
getEntitlements(java.lang.Class<T> clazz,
Resource resource,
Identity identity)
Instance Based Security
Get all the entitlements assigned to the components of a Resource |
java.lang.String |
getSecurityDomain()
Return the Security Domain Name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
securityDomainName
protected java.lang.String securityDomainName
sharedState
protected java.util.Map<java.lang.String,java.lang.Object> sharedState
modules
protected java.util.List<ACLProvider> modules
ACLContext
public ACLContext()
getEntitlements
public abstract <T> EntitlementHolder<T> getEntitlements(java.lang.Class<T> clazz,
Resource resource,
Identity identity)
throws AuthorizationException
- Instance Based Security
Get all the entitlements assigned to the components of a Resource
- Parameters:
clazz - class type of the entitlementsresource - A Resource (Can be a Portal Resource, a Rules Resource)identity - The Identity against whom the entitlements need to be generated
- Returns:
- a Entitlements Wrapper
- Throws:
AuthorizationException
getSecurityDomain
public java.lang.String getSecurityDomain()
- Return the Security Domain Name
- Returns:
- security domain
Copyright © 2008 JBoss Inc.. All Rights Reserved.