vertx / io.vertx.rxjava.ext.web.handler / FormLoginHandler

FormLoginHandler

open class FormLoginHandler : Handler<RoutingContext>

Handler that handles login from a form on a custom login page.

Used in conjunction with the io.vertx.rxjava.ext.web.handler.RedirectAuthHandler.

NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.FormLoginHandler non RX-ified interface using Vert.x codegen.

Constructors

<init>

FormLoginHandler(delegate: FormLoginHandler)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<FormLoginHandler>

Functions

create

open static fun create(authProvider: AuthProvider): FormLoginHandler
open static fun create(authProvider: AuthProvider, usernameParam: String, passwordParam: String, returnURLParam: String, directLoggedInOKURL: String): FormLoginHandler

Create a handler

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): FormLoginHandler

handle

open fun handle(arg0: RoutingContext): Unit

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: FormLoginHandler): FormLoginHandler

setDirectLoggedInOKURL

open fun setDirectLoggedInOKURL(directLoggedInOKURL: String): FormLoginHandler

Set the url to redirect to if the user logs in directly at the url of the form login handler without being redirected here first

setPasswordParam

open fun setPasswordParam(passwordParam: String): FormLoginHandler

Set the name of the form param used to submit the password

setReturnURLParam

open fun setReturnURLParam(returnURLParam: String): FormLoginHandler

Set the name of the session attrioute used to specify the return url

setUsernameParam

open fun setUsernameParam(usernameParam: String): FormLoginHandler

Set the name of the form param used to submit the username

toString

open fun toString(): String