Package io.quarkus.test.security
Class FallbackTestHttpAuthenticationMechanism
java.lang.Object
io.quarkus.test.security.AbstractTestHttpAuthenticationMechanism
io.quarkus.test.security.FallbackTestHttpAuthenticationMechanism
- All Implemented Interfaces:
HttpAuthenticationMechanism
@ApplicationScoped
public class FallbackTestHttpAuthenticationMechanism
extends AbstractTestHttpAuthenticationMechanism
This test mechanism is fallback when no other mechanism manages to authenticate.
When the test method is annotated with the
TestSecurity
annotation,
users can still send credentials inside HTTP request and the credentials will have priority.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
HttpAuthenticationMechanism.ChallengeSender
-
Field Summary
Fields inherited from class io.quarkus.test.security.AbstractTestHttpAuthenticationMechanism
augmentors, authMechanism, blockingSecurityExecutor, testIdentityAssociation
Fields inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
DEFAULT_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.quarkus.test.security.AbstractTestHttpAuthenticationMechanism
authenticate, check, getChallenge, getCredentialTransport, getCredentialTypes, setAuthMechanism, setSecurityIdentityAugmentors
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
getPriority, sendChallenge
-
Constructor Details
-
FallbackTestHttpAuthenticationMechanism
public FallbackTestHttpAuthenticationMechanism()
-