Interface UserEntry

All Superinterfaces:
Serializable
All Known Implementing Classes:
UserEntryImpl

public interface UserEntry extends Serializable
A user name, and a set of permissions granted/denied.
  • Method Details

    • getUserName

      String getUserName()
    • getGrantedPermissions

      Set<String> getGrantedPermissions()
    • getDeniedPermissions

      Set<String> getDeniedPermissions()
    • addPrivilege

      void addPrivilege(String permission)
      Adds a granted permission for this username.
      Parameters:
      permission - the permission
      Since:
      5.9.4
    • addPrivilege

      void addPrivilege(String permission, boolean granted)
      Adds a permission for this username.
      Parameters:
      permission - the permission
      granted - whether the permission is granted or denied
      Since:
      5.9.4