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.
  • Constructor Details

    • FallbackTestHttpAuthenticationMechanism

      public FallbackTestHttpAuthenticationMechanism()