public class FormAuthenticationMechanism extends Object implements HttpAuthenticationMechanism
HttpAuthenticationMechanism.ChallengeSender| Constructor and Description |
|---|
FormAuthenticationMechanism(String loginPage,
String postLocation,
String usernameParameter,
String passwordParameter,
String errorPage,
String landingPage,
boolean redirectAfterLogin,
String locationCookie,
PersistentLoginManager loginManager) |
| Modifier and Type | Method and Description |
|---|---|
io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> |
authenticate(io.vertx.ext.web.RoutingContext context,
io.quarkus.security.identity.IdentityProviderManager identityProviderManager) |
io.smallrye.mutiny.Uni<ChallengeData> |
getChallenge(io.vertx.ext.web.RoutingContext context) |
HttpCredentialTransport |
getCredentialTransport()
The credential transport, used to make sure multiple incompatible mechanisms are not installed
May be null if this mechanism cannot interfere with other mechanisms
|
Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> |
getCredentialTypes()
Returns the required credential types.
|
(package private) static io.smallrye.mutiny.Uni<ChallengeData> |
getRedirect(io.vertx.ext.web.RoutingContext exchange,
String location) |
protected void |
handleRedirectBack(io.vertx.ext.web.RoutingContext exchange) |
io.smallrye.mutiny.Uni<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 io.smallrye.mutiny.Uni<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 io.smallrye.mutiny.Uni<ChallengeData> getRedirect(io.vertx.ext.web.RoutingContext exchange, String location)
public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext context,
io.quarkus.security.identity.IdentityProviderManager identityProviderManager)
authenticate in interface HttpAuthenticationMechanismpublic io.smallrye.mutiny.Uni<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context)
getChallenge in interface HttpAuthenticationMechanismpublic Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()
HttpAuthenticationMechanismgetCredentialTypes in interface HttpAuthenticationMechanismpublic HttpCredentialTransport getCredentialTransport()
HttpAuthenticationMechanismgetCredentialTransport in interface HttpAuthenticationMechanismCopyright © 2021 JBoss by Red Hat. All rights reserved.