Annotation Interface Authenticated


@Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface Authenticated
Annotation that flags a resource as requiring valid user authentication to execute.
  • Element Details

    • allowGuests

      boolean allowGuests
      Whether to allow guest users to access this resource. Defaults to false.
      Returns:
      whether guest users are allowed to access this resource
      Default:
      false
    • adminOverride

      Applies an override option to this resource. Defaults to DISALLOW.
      Returns:
      which Authenticated.AdminOverrideOption applies to this resource
      Default:
      DISALLOW