|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth.provider.filter.OAuthProviderProcessingFilter
org.springframework.security.oauth.provider.filter.AccessTokenProcessingFilter
public class AccessTokenProcessingFilter
Processing filter for handling a request for an OAuth access token.
| Field Summary |
|---|
| Fields inherited from class org.springframework.security.oauth.provider.filter.OAuthProviderProcessingFilter |
|---|
messages, OAUTH_PROCESSING_HANDLED |
| Constructor Summary | |
|---|---|
AccessTokenProcessingFilter()
|
|
| Method Summary | |
|---|---|
protected OAuthProviderToken |
createOAuthToken(ConsumerAuthentication authentication)
|
String |
getResponseContentType()
The content type of the response. |
boolean |
isRequire10a()
Whether to require 1.0a support. |
protected void |
onNewTimestamp()
Logic to be performed on a new timestamp. |
protected void |
onValidSignature(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
Logic executed on valid signature. |
void |
setRequire10a(boolean require10a)
Whether to require 1.0a support. |
void |
setResponseContentType(String responseContentType)
The content type of the response. |
protected void |
validateAdditionalParameters(ConsumerDetails consumerDetails,
Map<String,String> oauthParams)
Do any additional validation checks for the specified oauth params. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessTokenProcessingFilter()
| Method Detail |
|---|
protected OAuthProviderToken createOAuthToken(ConsumerAuthentication authentication)
protected void validateAdditionalParameters(ConsumerDetails consumerDetails,
Map<String,String> oauthParams)
OAuthProviderProcessingFilter
validateAdditionalParameters in class OAuthProviderProcessingFilterconsumerDetails - The consumer details.oauthParams - The params.
protected void onValidSignature(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
throws IOException
OAuthProviderProcessingFilterConsumerAuthentication.
onValidSignature in class OAuthProviderProcessingFilterrequest - The request.response - The responsechain - The filter chain.
IOException
protected void onNewTimestamp()
throws org.springframework.security.core.AuthenticationException
OAuthProviderProcessingFilter
onNewTimestamp in class OAuthProviderProcessingFilterorg.springframework.security.core.AuthenticationException - If the timestamp shouldn't be new.public String getResponseContentType()
public void setResponseContentType(String responseContentType)
responseContentType - The content type of the response.public boolean isRequire10a()
public void setRequire10a(boolean require10a)
require10a - Whether to require 1.0a support.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||