Annotation Type Authenticated


@Retention(RUNTIME) @Target(TYPE) public @interface Authenticated
Indicates that this endpoint requires authentication using whatever mechanism is configured (by default, HTTP Basic Auth - you should implement and bind Authenticator to use it).
Author:
Tim Boudreau
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    Unused for basic auth, but may be by other authentication schemes
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • value

      String value
      Unused for basic auth, but may be by other authentication schemes
      Returns:
      Some parameter describing who can access this resource or other information usefully passed to the authentication code
      Default:
      "default"
    • optional

      boolean optional
      Default:
      true