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, testIdentityAssociationFields 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, setSecurityIdentityAugmentorsMethods 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
-
FallbackTestHttpAuthenticationMechanism
public FallbackTestHttpAuthenticationMechanism()
-