org.fcrepo.server.security.xacml.util
Class RelationshipResolverBase
java.lang.Object
org.fcrepo.server.security.xacml.util.RelationshipResolverBase
- All Implemented Interfaces:
- RelationshipResolver
- Direct Known Subclasses:
- RELSRelationshipResolver, RIRelationshipResolver
public abstract class RelationshipResolverBase
- extends Object
- implements RelationshipResolver
|
Method Summary |
protected String |
getFedoraResourceURI(String res)
given either a ns:pid/ds identifier or an info:fedora/ URI form of the same
return the URI form, validating the PID part. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORY
protected static final String REPOSITORY
- Designates the repository itself. Policies can apply to the repository,
but it is a special case, as it is not represented by a PID, and by
definition, has no parents.
- See Also:
- Constant Field Values
DEFAULT_RELATIONSHIP
protected static String DEFAULT_RELATIONSHIP
parentRelationships
protected final List<String> parentRelationships
childRelationships
protected final List<String> childRelationships
RelationshipResolverBase
public RelationshipResolverBase(Map<String,String> options)
- Constructor that takes a map of parent-child predicates (relationships).
ContextHandlerImpl builds the map from the relationship-resolver
section of config-melcoe-pep.xml (in WEB-INF/classes).
- Parameters:
options -
- Throws:
MelcoePDPException
getFedoraResourceURI
protected String getFedoraResourceURI(String res)
- given either a ns:pid/ds identifier or an info:fedora/ URI form of the same
return the URI form, validating the PID part. Returns null if the argument
was invalid/could not be validated/converted
- Parameters:
res - identifier for fedora resource
- Returns:
- URI form
Copyright © 2012 DuraSpace. All Rights Reserved.