public class FormLoginHandler extends Object implements Handler<RoutingContext>
Used in conjunction with the RedirectAuthHandler.
original non RX-ified interface using Vert.x codegen.| Constructor and Description |
|---|
FormLoginHandler(FormLoginHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
static FormLoginHandler |
create(AuthProvider authProvider)
Create a handler
|
static FormLoginHandler |
create(AuthProvider authProvider,
String usernameParam,
String passwordParam,
String returnURLParam)
Create a handler
|
Object |
getDelegate() |
void |
handle(RoutingContext arg0)
Something has happened, so handle it.
|
static FormLoginHandler |
newInstance(FormLoginHandler arg) |
public FormLoginHandler(FormLoginHandler delegate)
public Object getDelegate()
public void handle(RoutingContext arg0)
Handlerhandle in interface Handler<RoutingContext>arg0 - the event to handlepublic static FormLoginHandler create(AuthProvider authProvider)
authProvider - the auth service to usepublic static FormLoginHandler create(AuthProvider authProvider, String usernameParam, String passwordParam, String returnURLParam)
authProvider - the auth service to useusernameParam - the value of the form attribute which will contain the usernamepasswordParam - the value of the form attribute which will contain the passwordreturnURLParam - the value of the form attribute which will contain the return urlpublic static FormLoginHandler newInstance(FormLoginHandler arg)
Copyright © 2015. All Rights Reserved.