Class JcrAclMetadataStrategy
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.jcr.JcrAclMetadataStrategy
-
- All Implemented Interfaces:
IAclMetadataStrategy
public class JcrAclMetadataStrategy extends Object implements IAclMetadataStrategy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JcrAclMetadataStrategy.AclMetadataPrincipal
Special principal used in ACEs that contains two pieces of metadata about the ACL as a whole: Owner: Separate from all ACEs, what Principal is the owner? (Owners can be treated specially.) Entries Inheriting: Whether or not the ACEs of this ACL apply or instead an ancestor.-
Nested classes/interfaces inherited from interface org.pentaho.platform.repository2.unified.jcr.IAclMetadataStrategy
IAclMetadataStrategy.AclMetadata
-
-
Constructor Summary
Constructors Constructor Description JcrAclMetadataStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAclMetadataStrategy.AclMetadata
getAclMetadata(javax.jcr.Session session, String path, javax.jcr.security.AccessControlList acList)
List<javax.jcr.security.AccessControlEntry>
removeAclMetadata(List<javax.jcr.security.AccessControlEntry> acEntries)
If implementation uses ACE(s) to store metadata, this method must remove that metadata.void
setAclMetadata(javax.jcr.Session session, String path, javax.jcr.security.AccessControlList acList, IAclMetadataStrategy.AclMetadata aclMetadata)
-
-
-
Method Detail
-
getAclMetadata
public IAclMetadataStrategy.AclMetadata getAclMetadata(javax.jcr.Session session, String path, javax.jcr.security.AccessControlList acList) throws javax.jcr.RepositoryException
- Specified by:
getAclMetadata
in interfaceIAclMetadataStrategy
- Throws:
javax.jcr.RepositoryException
-
setAclMetadata
public void setAclMetadata(javax.jcr.Session session, String path, javax.jcr.security.AccessControlList acList, IAclMetadataStrategy.AclMetadata aclMetadata) throws javax.jcr.RepositoryException
- Specified by:
setAclMetadata
in interfaceIAclMetadataStrategy
- Throws:
javax.jcr.RepositoryException
-
removeAclMetadata
public List<javax.jcr.security.AccessControlEntry> removeAclMetadata(List<javax.jcr.security.AccessControlEntry> acEntries) throws javax.jcr.RepositoryException
Description copied from interface:IAclMetadataStrategy
If implementation uses ACE(s) to store metadata, this method must remove that metadata.- Specified by:
removeAclMetadata
in interfaceIAclMetadataStrategy
- Throws:
javax.jcr.RepositoryException
-
-