public class IdentityURLProviderHandler extends Object implements HttpHandler
Modifier and Type | Field and Description |
---|---|
static String |
ACCOUNT_CHOOSER_COOKIE_NAME |
static String |
ACCOUNT_PARAMETER |
static String |
AUTHENTICATING |
protected static PicketLinkLogger |
logger |
static String |
STATE |
Constructor and Description |
---|
IdentityURLProviderHandler(SPType spType,
ServletContext servletContext,
HttpHandler next) |
Modifier and Type | Method and Description |
---|---|
protected String |
cookieValue(HttpServletRequest request) |
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
protected void |
proceedToAuthentication(HttpServerExchange exchange,
String cookieValue) |
protected void |
redirectToChosenPage(HttpServletRequest request,
HttpServletResponse response) |
static HandlerWrapper |
wrapper(SPType spType,
ServletContext servletContext) |
protected static final PicketLinkLogger logger
public static final String ACCOUNT_CHOOSER_COOKIE_NAME
public static final String ACCOUNT_PARAMETER
public static final String AUTHENTICATING
public static final String STATE
public IdentityURLProviderHandler(SPType spType, ServletContext servletContext, HttpHandler next)
public static final HandlerWrapper wrapper(SPType spType, ServletContext servletContext)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
protected String cookieValue(HttpServletRequest request)
protected void redirectToChosenPage(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletException
IOException
protected void proceedToAuthentication(HttpServerExchange exchange, String cookieValue) throws Exception
Exception
Copyright © 2016 JBoss by Red Hat. All rights reserved.