public interface FedoraPolicyEnforcementPoint
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.modeshape.jcr.value.Path> |
filterPathsForReading(Iterator<org.modeshape.jcr.value.Path> paths,
Set<Principal> allPrincipals,
Principal userPrincipal)
Filter the collection of JCR paths, selecting those the user has
permission to read.
|
boolean |
hasModeShapePermission(org.modeshape.jcr.value.Path absPath,
String[] actions,
Set<Principal> allPrincipals,
Principal userPrincipal)
Is the action permitted to the user or other any other principal on the
given node path?
|
boolean hasModeShapePermission(org.modeshape.jcr.value.Path absPath,
String[] actions,
Set<Principal> allPrincipals,
Principal userPrincipal)
context - absPath - actions - userPrincipal - allPrincipals - Iterator<org.modeshape.jcr.value.Path> filterPathsForReading(Iterator<org.modeshape.jcr.value.Path> paths, Set<Principal> allPrincipals, Principal userPrincipal)
paths - an iterator of pathsallPrincipals - all the authenticated principalsuserPrincipal - the user principalCopyright © 2013 DuraSpace, Inc.. All rights reserved.