Interface AssigneeContract

All Known Implementing Classes:
Assignee, Assignee.Builder

public interface AssigneeContract
This is the contract for a Permission Assignee. Permissions are attached to roles. All authorization checks should be done against permissions, never against roles or groups.
  • Method Details

    • getPrincipalId

      String getPrincipalId()
      The Principal ID referenced by the Permission Assignee.
      Returns:
      principalId
    • getGroupId

      String getGroupId()
      The Group ID referenced by the Permission Assignee.
      Returns:
      groupId
    • getDelegates

      List<? extends DelegateTypeContract> getDelegates()
      List of Delegates for a Permission Assignee
      Returns:
      delegates