Class Role

  • All Implemented Interfaces:
    AbacSupport, Principal

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

      • create

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

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