@ApplicationScoped public class BasicAuthenticationMechanism extends Object implements HttpAuthenticationMechanism
| Modifier and Type | Field and Description |
|---|---|
static String |
CHARSET |
static String |
SILENT |
static String |
USER_AGENT_CHARSETS
A comma separated list of patterns and charsets.
|
| Constructor and Description |
|---|
BasicAuthenticationMechanism(String realmName) |
BasicAuthenticationMechanism(String realmName,
String mechanismName) |
BasicAuthenticationMechanism(String realmName,
String mechanismName,
boolean silent) |
BasicAuthenticationMechanism(String realmName,
String mechanismName,
boolean silent,
Charset charset,
Map<Pattern,Charset> userAgentCharsets) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<io.quarkus.security.identity.SecurityIdentity> |
authenticate(io.vertx.ext.web.RoutingContext context,
io.quarkus.security.identity.IdentityProviderManager identityProviderManager) |
CompletionStage<Boolean> |
sendChallenge(io.vertx.ext.web.RoutingContext context) |
public static final String SILENT
public static final String CHARSET
public static final String USER_AGENT_CHARSETS
public BasicAuthenticationMechanism(String realmName)
public BasicAuthenticationMechanism(String realmName, String mechanismName)
public BasicAuthenticationMechanism(String realmName, String mechanismName, boolean silent)
public CompletionStage<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager)
authenticate in interface HttpAuthenticationMechanismpublic CompletionStage<Boolean> sendChallenge(io.vertx.ext.web.RoutingContext context)
sendChallenge in interface HttpAuthenticationMechanismCopyright © 2019 JBoss by Red Hat. All rights reserved.