Annotation Interface HttpAuthenticationMechanism
@Inherited
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Repeatable(List.class)
public @interface HttpAuthenticationMechanism
Provides a way to select custom
HttpAuthenticationMechanism
used for a REST endpoint and WebSockets Next 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.-
Nested Class Summary
Nested Classes -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionHttpAuthenticationMechanismauthentication scheme as returned byHttpCredentialTransport.getAuthenticationScheme().
-
Element Details
-
value
String valueHttpAuthenticationMechanismauthentication scheme as returned byHttpCredentialTransport.getAuthenticationScheme().HttpAuthenticationMechanismimplementations must set this scheme inHttpAuthenticationMechanism.getCredentialTransport(RoutingContext).
-