Package io.quarkus.test.security
Class TestHttpAuthenticationMechanism
- java.lang.Object
-
- io.quarkus.test.security.TestHttpAuthenticationMechanism
-
- All Implemented Interfaces:
HttpAuthenticationMechanism
@ApplicationScoped public class TestHttpAuthenticationMechanism 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 Modifier and Type Field Description (package private) TestIdentityAssociationtestIdentityAssociation-
Fields inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
DEFAULT_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description TestHttpAuthenticationMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity>authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager)voidcheck()io.smallrye.mutiny.Uni<ChallengeData>getChallenge(io.vertx.ext.web.RoutingContext context)HttpCredentialTransportgetCredentialTransport()Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>>getCredentialTypes()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
getCredentialTransport, getPriority, sendChallenge
-
-
-
-
Field Detail
-
testIdentityAssociation
@Inject TestIdentityAssociation testIdentityAssociation
-
-
Method Detail
-
check
@PostConstruct public void check()
-
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
public io.smallrye.mutiny.Uni<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context)
- Specified by:
getChallengein interfaceHttpAuthenticationMechanism
-
getCredentialTypes
public Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()
- Specified by:
getCredentialTypesin interfaceHttpAuthenticationMechanism
-
getCredentialTransport
public HttpCredentialTransport getCredentialTransport()
- Specified by:
getCredentialTransportin interfaceHttpAuthenticationMechanism
-
-