Package 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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResourceServer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getQueryParameterValue(HttpServletRequest request, java.lang.String name)
static java.lang.String[]
getQueryParameterValues(HttpServletRequest request, java.lang.String name)
A replacement for HttpServletRequest.getParameter() as it will mess up with HTTP POST bodyTokenExtractor
instantiateExtractor(ParameterStyle ps)
OAuthValidator
instantiateValidator(ParameterStyle ps)
-
-
-
Method Detail
-
instantiateValidator
public OAuthValidator instantiateValidator(ParameterStyle ps) throws OAuthSystemException
- Throws:
OAuthSystemException
-
instantiateExtractor
public TokenExtractor instantiateExtractor(ParameterStyle ps) throws OAuthSystemException
- Throws:
OAuthSystemException
-
getQueryParameterValues
public static java.lang.String[] getQueryParameterValues(HttpServletRequest request, java.lang.String name)
A replacement for HttpServletRequest.getParameter() as it will mess up with HTTP POST body- Parameters:
request
-name
-- Returns:
-
getQueryParameterValue
public static java.lang.String getQueryParameterValue(HttpServletRequest request, java.lang.String name)
-
-