Class UserEntryImpl

    • Constructor Detail

      • UserEntryImpl

        public UserEntryImpl​(String username)
    • Method Detail

      • addPrivilege

        public void addPrivilege​(String permission)
        Description copied from interface: UserEntry
        Adds a granted permission for this username.
        Specified by:
        addPrivilege in interface UserEntry
        Parameters:
        permission - the permission
      • addPrivilege

        public void addPrivilege​(String permission,
                                 boolean isGranted)
        Description copied from interface: UserEntry
        Adds a permission for this username.
        Specified by:
        addPrivilege in interface UserEntry
        Parameters:
        permission - the permission
        isGranted - whether the permission is granted or denied
      • addPrivilege

        @Deprecated
        public void addPrivilege​(String permission,
                                 boolean granted,
                                 boolean readOnly)
        Deprecated.
        Description copied from interface: UserEntry
        Adds a permission for this username.
        Specified by:
        addPrivilege in interface UserEntry