Class AccessControlEntry
- java.lang.Object
-
- org.apache.sling.feature.cpconverter.accesscontrol.AccessControlEntry
-
public final class AccessControlEntry extends Object
Simple single ACL statement representation.
-
-
Constructor Summary
Constructors Constructor Description AccessControlEntry(boolean isAllow, @NotNull List<String> privileges, @NotNull RepoPath repositoryPath)AccessControlEntry(boolean isAllow, @NotNull List<String> privileges, @NotNull RepoPath repositoryPath, boolean isPrincipalBased)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRestriction(@NotNull String restrictionName, List<String> values)@NotNull org.apache.sling.repoinit.parser.operations.AclLineasAclLine(@NotNull String path)@NotNull RepoPathgetRepositoryPath()booleanisPrincipalBased()StringtoString()
-
-
-
Method Detail
-
addRestriction
public void addRestriction(@NotNull @NotNull String restrictionName, List<String> values)
-
getRepositoryPath
@NotNull public @NotNull RepoPath getRepositoryPath()
-
isPrincipalBased
public boolean isPrincipalBased()
-
asAclLine
@NotNull public @NotNull org.apache.sling.repoinit.parser.operations.AclLine asAclLine(@NotNull @NotNull String path)
-
-