fedora.server.security
Class PolicyFinderModule
java.lang.Object
com.sun.xacml.finder.PolicyFinderModule
fedora.server.security.PolicyFinderModule
public class PolicyFinderModule
- extends com.sun.xacml.finder.PolicyFinderModule
- Author:
- wdn5e@virginia.edu
to understand why this class is needed
(why configuring the xacml pdp with all of the multiplexed policy finders just won't work),
- See Also:
- "http://sourceforge.net/mailarchive/message.php?msg_id=6068981"
|
Constructor Summary |
PolicyFinderModule(java.lang.String combiningAlgorithm,
java.lang.String repositoryPolicyDirectoryPath,
java.lang.String repositoryBackendPolicyDirectoryPath,
java.lang.String repositoryPolicyGuiToolDirectoryPath,
DOManager doManager,
boolean validateRepositoryPolicies,
boolean validateObjectPoliciesFromDatastream,
java.lang.String policySchemaPath)
|
|
Method Summary |
com.sun.xacml.finder.PolicyFinderResult |
findPolicy(com.sun.xacml.EvaluationCtx context)
|
protected java.lang.Object |
getAttributeFromEvaluationResult(com.sun.xacml.cond.EvaluationResult attribute)
|
int |
getLoadErrors()
|
void |
init(com.sun.xacml.finder.PolicyFinder finder)
pass along an init() call to the various multiplexed PolicyFinderModules |
boolean |
isRequestSupported()
the set of multiplexed PolicyFinderModules can support the request
if -any- of the various PolicyFinderModules individually can |
| Methods inherited from class com.sun.xacml.finder.PolicyFinderModule |
findPolicy, getIdentifier, invalidateCache, isIdReferenceSupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POLICY_SCHEMA_PROPERTY
public static final java.lang.String POLICY_SCHEMA_PROPERTY
- See Also:
- Constant Field Values
JAXP_SCHEMA_LANGUAGE
public static final java.lang.String JAXP_SCHEMA_LANGUAGE
- See Also:
- Constant Field Values
W3C_XML_SCHEMA
public static final java.lang.String W3C_XML_SCHEMA
- See Also:
- Constant Field Values
JAXP_SCHEMA_SOURCE
public static final java.lang.String JAXP_SCHEMA_SOURCE
- See Also:
- Constant Field Values
PolicyFinderModule
public PolicyFinderModule(java.lang.String combiningAlgorithm,
java.lang.String repositoryPolicyDirectoryPath,
java.lang.String repositoryBackendPolicyDirectoryPath,
java.lang.String repositoryPolicyGuiToolDirectoryPath,
DOManager doManager,
boolean validateRepositoryPolicies,
boolean validateObjectPoliciesFromDatastream,
java.lang.String policySchemaPath)
throws GeneralException
- Throws:
GeneralException
getLoadErrors
public final int getLoadErrors()
init
public void init(com.sun.xacml.finder.PolicyFinder finder)
- pass along an init() call to the various multiplexed PolicyFinderModules
- Specified by:
init in class com.sun.xacml.finder.PolicyFinderModule
isRequestSupported
public boolean isRequestSupported()
- the set of multiplexed PolicyFinderModules can support the request
if -any- of the various PolicyFinderModules individually can
- Overrides:
isRequestSupported in class com.sun.xacml.finder.PolicyFinderModule
getAttributeFromEvaluationResult
protected final java.lang.Object getAttributeFromEvaluationResult(com.sun.xacml.cond.EvaluationResult attribute)
findPolicy
public com.sun.xacml.finder.PolicyFinderResult findPolicy(com.sun.xacml.EvaluationCtx context)
- Overrides:
findPolicy in class com.sun.xacml.finder.PolicyFinderModule