Class HttpAuthenticator.NoAuthenticationMechanism
java.lang.Object
io.quarkus.vertx.http.runtime.security.HttpAuthenticator.NoAuthenticationMechanism
- All Implemented Interfaces:
HttpAuthenticationMechanism
- Enclosing class:
HttpAuthenticator
static class HttpAuthenticator.NoAuthenticationMechanism
extends Object
implements HttpAuthenticationMechanism
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
HttpAuthenticationMechanism.ChallengeSender -
Field Summary
Fields inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager) io.smallrye.mutiny.Uni<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context) If this mechanism delegates authentication to theIdentityProviderManagerusing theIdentityProviderManager.authenticate(AuthenticationRequest)call, then the mechanism must provide supportedAuthenticationRequestrequest types.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
getCredentialTransport, getPriority, sendChallenge
-
Constructor Details
-
NoAuthenticationMechanism
NoAuthenticationMechanism()
-
-
Method Details
-
authenticate
public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager) - Specified by:
authenticatein interfaceHttpAuthenticationMechanism
-
getChallenge
- Specified by:
getChallengein interfaceHttpAuthenticationMechanism
-
getCredentialTypes
public Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()Description copied from interface:HttpAuthenticationMechanismIf this mechanism delegates authentication to theIdentityProviderManagerusing theIdentityProviderManager.authenticate(AuthenticationRequest)call, then the mechanism must provide supportedAuthenticationRequestrequest types. It allows Quarkus to validate that one or moreIdentityProviderproviders with matching supportedIdentityProvider.getRequestType()request types exist and fail otherwise.- Specified by:
getCredentialTypesin interfaceHttpAuthenticationMechanism- Returns:
- required credential types
-