|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xacml.finder.PolicyFinderModule
com.sun.ebxml.registry.security.authorization.RegistryPolicyFinderModule
This module represents a collection of files containing polices, each of which will be searched through when trying to find a policy that is applicable to a specific request.
Field Summary | |
static java.lang.String |
ASSOCIATION_TYPE_ACCESS_CONTROL_POLICY_FOR
|
Constructor Summary | |
RegistryPolicyFinderModule()
|
Method Summary | |
com.sun.xacml.finder.PolicyFinderResult |
findPolicy(com.sun.xacml.EvaluationCtx context)
Finds a policy based on a request's context. |
com.sun.xacml.finder.PolicyFinderResult |
findPolicy(java.net.URI idReference,
int type)
Tries to find one and only one matching policy given the idReference First it tries to find a RegistryObject with specified URI as id. |
com.sun.xacml.PolicyTreeElement |
getDescendantPolicyTreeElement(com.sun.xacml.PolicyTreeElement parent,
java.net.URI descendantId)
Get the descendent AbstractPolciy composed within specified PolicyTreeElement object that matches the specified id. |
java.util.Collection |
getDescendantPolicyTreeElements(com.sun.xacml.PolicyTreeElement parent)
Gets teh Collection of all POlicyElements that are Descendants of specified PolicyTreeElement |
void |
init(com.sun.xacml.finder.PolicyFinder finder)
|
boolean |
isIdReferenceSupported()
Returns true if the module supports finding policies based on an id reference (in a PolicySet). |
boolean |
isRequestSupported()
Returns true if the module supports finding policies based on a request (ie, target matching). |
Methods inherited from class com.sun.xacml.finder.PolicyFinderModule |
getIdentifier, invalidateCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ASSOCIATION_TYPE_ACCESS_CONTROL_POLICY_FOR
Constructor Detail |
public RegistryPolicyFinderModule()
Method Detail |
public java.util.Collection getDescendantPolicyTreeElements(com.sun.xacml.PolicyTreeElement parent)
public com.sun.xacml.PolicyTreeElement getDescendantPolicyTreeElement(com.sun.xacml.PolicyTreeElement parent, java.net.URI descendantId)
public boolean isRequestSupported()
public boolean isIdReferenceSupported()
public void init(com.sun.xacml.finder.PolicyFinder finder)
public com.sun.xacml.finder.PolicyFinderResult findPolicy(com.sun.xacml.EvaluationCtx context)
context
- the representation of the request data
public com.sun.xacml.finder.PolicyFinderResult findPolicy(java.net.URI idReference, int type)
idReference
- an identifier specifying some policytype
- type of reference (policy or policySet) as identified by
the fields in PolicyReference
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |