Class Role

All Implemented Interfaces:
AbacSupport, Principal

public final class Role extends Grant
A security role used in RBAC (role based access control) schemes.
  • Field Details

  • Method Details

    • create

      public static Role create(String name)
      Create a role based on a name without any attributes.
      Parameters:
      name - name of role
      Returns:
      a new role instance
    • builder

      public static Role.Builder builder()
      Creates a fluent API builder to build new instances of this class.
      Returns:
      a builder instance