Interface PermittedUser


public interface PermittedUser
Defines an association between a ApplicationUser and a Permission which has been granted to them.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the permission which has been granted to the user.
    Retrieves the user to which the permission has been granted.
  • Method Details

    • getPermission

      @Nonnull Permission getPermission()
      Retrieves the permission which has been granted to the user.
      Returns:
      the granted permission
    • getUser

      @Nonnull ApplicationUser getUser()
      Retrieves the user to which the permission has been granted.

      Note, the user may not be active

      Returns:
      the permitted user