public interface Role
Represents a user role for role-based authorization.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Role
    any()
    Allow any user.
     
  • Field Details

  • Method Details

    • any

      static Role any()
      Allow any user.
      Returns:
      A role representing any user.
    • asText

      String asText()
      Returns:
      This role as a String.