Annotation Interface HttpAuthenticationMechanism


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Inherited public @interface HttpAuthenticationMechanism
Provides a way to select custom HttpAuthenticationMechanism used for a REST endpoint authentication. This annotation can only be used when proactive authentication is disabled. Using the annotation with enabled proactive authentication will lead to build-time failure.