Interface Authentication


public interface Authentication
Authentication information.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    This is a special role that allows to bypass all security checks.
    static final String
    This is a special user that is used to run internal system code.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return set of roles.
    Return username.
  • Field Details

    • SYSTEM_USER

      static final String SYSTEM_USER
      This is a special user that is used to run internal system code. Should be used with care.
      See Also:
    • SYSTEM_BYPASS_ROLE

      static final String SYSTEM_BYPASS_ROLE
      This is a special role that allows to bypass all security checks. Should be used with care.
      See Also:
  • Method Details

    • username

      String username()
      Return username.
    • roles

      Set<String> roles()
      Return set of roles.