@PolarisImmutable public interface Actor
Represents the actor (principal) making an authorization request.

Contains the principal identifier and associated roles.

  • Method Summary

    Modifier and Type
    Method
    Description
    The principal name or identifier.
    The list of roles associated with the principal.
  • Method Details

    • principal

      String principal()
      The principal name or identifier.
    • roles

      List<String> roles()
      The list of roles associated with the principal.