public class RequestAdapter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TARGET_URL_PARAMETER_NAME |
Constructor and Description |
---|
RequestAdapter(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. |
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(HttpServletRequest request)
public boolean isOpenURL()
public Map<String,String> getParametersAndAddTargetURLIfNotSet() throws UnsupportedEncodingException
NXAuthConstants#REQUESTED_URL
key.UnsupportedEncodingException
public String getTargetURLFromParameter() throws ApplicationDefinitionException
ApplicationDefinitionException
public Map<String,String> getParameters() throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2013 Nuxeo SA. All Rights Reserved.