Interface Authorizer.AuthorizerDescription

Enclosing interface:
Authorizer

public static interface Authorizer.AuthorizerDescription
Description of standard information about the custom authorizer.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the names of the "standard" built-in roles used by the authorizer.
    boolean
    Gets whether the authorizer uses a role-based authorization mechanism.
  • Method Details

    • isRoleBased

      boolean isRoleBased()
      Gets whether the authorizer uses a role-based authorization mechanism.
      Returns:
      true if a role-based mechanism is used; false if not
    • getStandardRoles

      Set<String> getStandardRoles()
      Gets the names of the "standard" built-in roles used by the authorizer. A built-in role requires no end user configuration.
      Returns:
      the standard role names. Will not be null, but may be an empty set if roles are not used or no built-in roles are used.