Package io.quarkus.vertx.http.security
Interface Basic
@Experimental("This API is currently experimental and might get changed")
public interface Basic
This class provides a way to create a basic authentication mechanism. The
HttpAuthenticationMechanism created
with this class can be registered using the HttpSecurity.mechanism(HttpAuthenticationMechanism) method.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic HttpAuthenticationMechanismcreate()Creates a new basic authentication mechanism.static HttpAuthenticationMechanismCreates a new basic authentication mechanism with given authentication realm.
-
Method Details
-
create
Creates a new basic authentication mechanism.- Returns:
- HttpAuthenticationMechanism
-
realm
Creates a new basic authentication mechanism with given authentication realm.- Parameters:
authenticationRealm-AuthRuntimeConfig.realm()- Returns:
- HttpAuthenticationMechanism
-