This project has retired. For details please refer to its Attic page.
OAuthTokenRequest | Apache Oltu - OAuth 2.0
public class

OAuthTokenRequest

extends AbstractOAuthTokenRequest
java.lang.Object
   ↳ org.apache.oltu.oauth2.as.request.OAuthRequest
     ↳ org.apache.oltu.oauth2.as.request.AbstractOAuthTokenRequest
       ↳ org.apache.oltu.oauth2.as.request.OAuthTokenRequest

Class Overview

The Default OAuth Authorization Server class that validates whether a given HttpServletRequest is a valid OAuth Token request.

IMPORTANT: This OAuthTokenRequest assumes that a token request requires client authentication. Please see section 3.2.1 of the OAuth Specification: http://tools.ietf.org/html/rfc6749#section-3.2.1

Summary

[Expand]
Inherited Fields
From class org.apache.oltu.oauth2.as.request.OAuthRequest
Public Constructors
OAuthTokenRequest(HttpServletRequest request)
Create an OAuth Token request from a given HttpSerlvetRequest
Protected Methods
OAuthValidator<HttpServletRequest> initValidator()
[Expand]
Inherited Methods
From class org.apache.oltu.oauth2.as.request.AbstractOAuthTokenRequest
From class org.apache.oltu.oauth2.as.request.OAuthRequest
From class java.lang.Object

Public Constructors

public OAuthTokenRequest (HttpServletRequest request)

Create an OAuth Token request from a given HttpSerlvetRequest

Parameters
request the httpservletrequest that is validated and transformed into the OAuth Token Request
Throws
OAuthSystemException if an unexpected exception was thrown
OAuthProblemException if the request was not a valid Token request this exception is thrown.

Protected Methods

protected OAuthValidator<HttpServletRequest> initValidator ()