Class FormAuthenticationMechanism

    • Method Detail

      • runFormAuth

        public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> runFormAuth​(io.vertx.ext.web.RoutingContext exchange,
                                                                                                 io.quarkus.security.identity.IdentityProviderManager securityContext)
      • handleRedirectBack

        protected void handleRedirectBack​(io.vertx.ext.web.RoutingContext exchange)
      • storeInitialLocation

        protected void storeInitialLocation​(io.vertx.ext.web.RoutingContext exchange)
      • servePage

        protected void servePage​(io.vertx.ext.web.RoutingContext exchange,
                                 String location)
      • sendRedirect

        static void sendRedirect​(io.vertx.ext.web.RoutingContext exchange,
                                 String location)
      • getRedirect

        static io.smallrye.mutiny.Uni<ChallengeData> getRedirect​(io.vertx.ext.web.RoutingContext exchange,
                                                                 String location)
      • authenticate

        public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate​(io.vertx.ext.web.RoutingContext context,
                                                                                                  io.quarkus.security.identity.IdentityProviderManager identityProviderManager)
        Specified by:
        authenticate in interface HttpAuthenticationMechanism
      • getCredentialTypes

        public Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()
        Description copied from interface: HttpAuthenticationMechanism
        Returns the required credential types. If there are no identity managers installed that support the listed types then this mechanism will not be enabled.
        Specified by:
        getCredentialTypes in interface HttpAuthenticationMechanism