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,
java.lang.String objectPolicyDirectoryPath,
DOManager doManager,
boolean validateRepositoryPolicies,
boolean validateObjectPoliciesFromFile,
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)
|
static int |
getClassErrors()
|
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 |
static void |
main(java.lang.String[] args)
|
| 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,
java.lang.String objectPolicyDirectoryPath,
DOManager doManager,
boolean validateRepositoryPolicies,
boolean validateObjectPoliciesFromFile,
boolean validateObjectPoliciesFromDatastream,
java.lang.String policySchemaPath)
throws GeneralException
getClassErrors
public static final int getClassErrors()
init
public void init(com.sun.xacml.finder.PolicyFinder finder)
- pass along an init() call to the various multiplexed PolicyFinderModules
isRequestSupported
public boolean isRequestSupported()
- the set of multiplexed PolicyFinderModules can support the request
if -any- of the various PolicyFinderModules individually can
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)
main
public static void main(java.lang.String[] args)