org.apache.oltu.oauth2.rs
Class ResourceServer
java.lang.Object
org.apache.oltu.oauth2.rs.ResourceServer
- Direct Known Subclasses:
- BearerResourceServer
public abstract class ResourceServer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extractors
protected Map<ParameterStyle,Class> extractors
validators
protected Map<ParameterStyle,Class> validators
ResourceServer
public ResourceServer()
instantiateValidator
public OAuthValidator instantiateValidator(ParameterStyle ps)
throws OAuthSystemException
- Throws:
OAuthSystemException
instantiateExtractor
public TokenExtractor instantiateExtractor(ParameterStyle ps)
throws OAuthSystemException
- Throws:
OAuthSystemException
getQueryParameterValues
public static String[] getQueryParameterValues(javax.servlet.http.HttpServletRequest request,
String name)
- A replacement for HttpServletRequest.getParameter() as it will mess up with HTTP POST body
- Parameters:
request
- name
-
- Returns:
getQueryParameterValue
public static String getQueryParameterValue(javax.servlet.http.HttpServletRequest request,
String name)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.