Class AccessControlEntry

java.lang.Object
org.apache.sling.feature.cpconverter.accesscontrol.AccessControlEntry

public final class AccessControlEntry extends Object
Simple single ACL statement representation.
  • Constructor Details

    • AccessControlEntry

      public AccessControlEntry(boolean isAllow, @NotNull @NotNull List<String> privileges, @NotNull @NotNull RepoPath repositoryPath)
    • AccessControlEntry

      public AccessControlEntry(boolean isAllow, @NotNull @NotNull List<String> privileges, @NotNull @NotNull RepoPath repositoryPath, boolean isPrincipalBased)
  • Method Details

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object