Class AccessControlEntry

    • Constructor Detail

      • AccessControlEntry

        public AccessControlEntry​(String permission,
                                  Boolean guest,
                                  List<String> users,
                                  List<String> roles,
                                  List<String> groups)
        Instantiates a new access control entry.
        Parameters:
        permission - the permission
        guest - the guest
        users - the users
        roles - the roles
        groups - the groups
    • Method Detail

      • getPermission

        @NotNull
        @Pattern(regexp="^[a-z_]+$")
        public @NotNull @Pattern(regexp="^[a-z_]+$") String getPermission()
        Specifies the permission.
        Returns:
        permission permission
      • setPermission

        public void setPermission​(String permission)
        Sets permission.
        Parameters:
        permission - the permission
      • getGuest

        public Boolean getGuest()
        Specifies whether anybody is granted.
        Returns:
        guest boolean
      • setGuest

        public void setGuest​(Boolean guest)
        Sets guest.
        Parameters:
        guest - the guest
      • getUsers

        public List<String> getUsers()
        Specifies the granted users.
        Returns:
        users users
      • setUsers

        public void setUsers​(List<String> users)
        Sets users.
        Parameters:
        users - the users
      • getRoles

        public List<String> getRoles()
        Specifies the granted roles.
        Returns:
        roles roles
      • setRoles

        public void setRoles​(List<String> roles)
        Sets roles.
        Parameters:
        roles - the roles
      • getGroups

        public List<String> getGroups()
        Specifies the granted groups.
        Returns:
        groups groups
      • setGroups

        public void setGroups​(List<String> groups)
        Sets groups.
        Parameters:
        groups - the groups