public abstract class ResourceServer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.apache.oltu.oauth2.common.message.types.ParameterStyle,Class> |
extractors |
protected Map<org.apache.oltu.oauth2.common.message.types.ParameterStyle,Class> |
validators |
| Constructor and Description |
|---|
ResourceServer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getQueryParameterValue(javax.servlet.http.HttpServletRequest request,
String name) |
static String[] |
getQueryParameterValues(javax.servlet.http.HttpServletRequest request,
String name)
A replacement for HttpServletRequest.getParameter() as it will mess up with HTTP POST body
|
TokenExtractor |
instantiateExtractor(org.apache.oltu.oauth2.common.message.types.ParameterStyle ps) |
org.apache.oltu.oauth2.common.validators.OAuthValidator |
instantiateValidator(org.apache.oltu.oauth2.common.message.types.ParameterStyle ps) |
protected Map<org.apache.oltu.oauth2.common.message.types.ParameterStyle,Class> extractors
public org.apache.oltu.oauth2.common.validators.OAuthValidator instantiateValidator(org.apache.oltu.oauth2.common.message.types.ParameterStyle ps)
throws org.apache.oltu.oauth2.common.exception.OAuthSystemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionpublic TokenExtractor instantiateExtractor(org.apache.oltu.oauth2.common.message.types.ParameterStyle ps) throws org.apache.oltu.oauth2.common.exception.OAuthSystemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionpublic static String[] getQueryParameterValues(javax.servlet.http.HttpServletRequest request, String name)
request - name - Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.