Class AccessControlEntry


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

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