public class RequestAdapter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TARGET_URL_PARAMETER_NAME |
Constructor and Description |
---|
RequestAdapter(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getParameters()
Return map containing parameters given into the request
|
Map<String,String> |
getParametersAndAddTargetURLIfNotSet()
Create the parameter map with parameter given into the request and add the initial request into the map into the
NXAuthConstants#REQUESTED_URL key. |
protected static String |
getRequestedPage(javax.servlet.http.HttpServletRequest httpRequest) |
String |
getTargetURLFromParameter() |
boolean |
isOpenURL()
return true if the PluggableAuthenticationService is configured to let this following request URI open.
|
public static final String TARGET_URL_PARAMETER_NAME
public RequestAdapter(javax.servlet.http.HttpServletRequest request)
public boolean isOpenURL()
protected static String getRequestedPage(javax.servlet.http.HttpServletRequest httpRequest)
public Map<String,String> getParametersAndAddTargetURLIfNotSet() throws UnsupportedEncodingException
NXAuthConstants#REQUESTED_URL
key.UnsupportedEncodingException
public String getTargetURLFromParameter()
public Map<String,String> getParameters() throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2015 Nuxeo SA. All rights reserved.