@Path(value="/") public abstract class BaseSecurityResource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REDIRECT_KEY |
| Constructor and Description |
|---|
BaseSecurityResource() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
login(javax.ws.rs.core.UriInfo uriInfo) |
rx.Single<javax.ws.rs.core.Response> |
loginAuth(String username,
String password,
String returnUrl,
io.vertx.rxjava.ext.web.Session session,
io.vertx.rxjava.ext.web.RoutingContext ctx,
io.vertx.rxjava.ext.auth.AuthProvider auth) |
javax.ws.rs.core.Response |
logout(javax.ws.rs.core.UriInfo uriInfo,
io.vertx.rxjava.ext.web.RoutingContext ctx,
AppGlobals globals) |
public static final String REDIRECT_KEY
@GET @Path(value="/login") public abstract Object login(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/loginAuth")
public rx.Single<javax.ws.rs.core.Response> loginAuth(@FormParam(value="username")
String username,
@FormParam(value="password")
String password,
@FormParam(value="return_url")
String returnUrl,
@Context
io.vertx.rxjava.ext.web.Session session,
@Context
io.vertx.rxjava.ext.web.RoutingContext ctx,
@Context
io.vertx.rxjava.ext.auth.AuthProvider auth)
throws URISyntaxException
URISyntaxException@GET
@Path(value="/logout")
public javax.ws.rs.core.Response logout(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
io.vertx.rxjava.ext.web.RoutingContext ctx,
@Context
AppGlobals globals)
Copyright © 2017. All rights reserved.