@Singleton public class FormAuthenticationMechanism extends Object implements HttpAuthenticationMechanism
HttpAuthenticationMechanism.ChallengeSender| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_POST_LOCATION |
| Constructor and Description |
|---|
FormAuthenticationMechanism() |
| 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<ChallengeData> |
getChallenge(io.vertx.ext.web.RoutingContext context) |
(package private) static CompletionStage<ChallengeData> |
getRedirect(io.vertx.ext.web.RoutingContext exchange,
String location) |
protected void |
handleRedirectBack(io.vertx.ext.web.RoutingContext exchange) |
void |
init(HttpConfiguration httpConfiguration,
HttpBuildTimeConfig buildTimeConfig) |
CompletionStage<io.quarkus.security.identity.SecurityIdentity> |
runFormAuth(io.vertx.ext.web.RoutingContext exchange,
io.quarkus.security.identity.IdentityProviderManager securityContext) |
(package private) static void |
sendRedirect(io.vertx.ext.web.RoutingContext exchange,
String location) |
protected void |
servePage(io.vertx.ext.web.RoutingContext exchange,
String location) |
protected void |
storeInitialLocation(io.vertx.ext.web.RoutingContext exchange) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendChallengepublic static final String DEFAULT_POST_LOCATION
public void init(HttpConfiguration httpConfiguration, HttpBuildTimeConfig buildTimeConfig)
public CompletionStage<io.quarkus.security.identity.SecurityIdentity> runFormAuth(io.vertx.ext.web.RoutingContext exchange, io.quarkus.security.identity.IdentityProviderManager securityContext)
protected void handleRedirectBack(io.vertx.ext.web.RoutingContext exchange)
protected void storeInitialLocation(io.vertx.ext.web.RoutingContext exchange)
protected void servePage(io.vertx.ext.web.RoutingContext exchange,
String location)
static void sendRedirect(io.vertx.ext.web.RoutingContext exchange,
String location)
static CompletionStage<ChallengeData> getRedirect(io.vertx.ext.web.RoutingContext exchange, String location)
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<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context)
getChallenge in interface HttpAuthenticationMechanismCopyright © 2019 JBoss by Red Hat. All rights reserved.