@Deprecated public class UnauthenticatedRequestTokenProcessingFilter extends OAuthProviderProcessingFilter
processes URL is "/oauth_request_token".
messages, OAUTH_PROCESSING_HANDLED| Constructor and Description |
|---|
UnauthenticatedRequestTokenProcessingFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected OAuthProviderToken |
createOAuthToken(ConsumerAuthentication authentication)
Deprecated.
Create the OAuth token for the specified consumer key.
|
String |
getResponseContentType()
Deprecated.
The content type of the response.
|
boolean |
isRequire10a()
Deprecated.
Whether to require 1.0a support.
|
protected void |
onNewTimestamp()
Deprecated.
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)
Deprecated.
Logic executed on valid signature.
|
void |
setRequire10a(boolean require10a)
Deprecated.
Whether to require 1.0a support.
|
void |
setResponseContentType(String responseContentType)
Deprecated.
The content type of the response.
|
protected void |
validateAdditionalParameters(ConsumerDetails consumerDetails,
Map<String,String> oauthParams)
Deprecated.
Do any additional validation checks for the specified oauth params.
|
afterPropertiesSet, allowMethod, createDetails, destroy, doFilter, fail, getAuthenticationEntryPoint, getConsumerDetailsService, getFilterProcessesUrl, getNonceServices, getProviderSupport, getSignatureMethodFactory, getTokenServices, init, isIgnoreInadequateCredentials, parametersAreAdequate, requiresAuthentication, resetPreviousAuthentication, setAllowedMethods, setAuthenticationEntryPoint, setConsumerDetailsService, setFilterProcessesUrl, setIgnoreMissingCredentials, setMessageSource, setNonceServices, setProviderSupport, setSignatureMethodFactory, setTokenServices, skipProcessing, validateOAuthParams, validateSignaturepublic UnauthenticatedRequestTokenProcessingFilter()
protected void validateAdditionalParameters(ConsumerDetails consumerDetails, Map<String,String> oauthParams)
OAuthProviderProcessingFiltervalidateAdditionalParameters 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
Default implementation continues the chain.onValidSignature in class OAuthProviderProcessingFilterrequest - The request.response - The responsechain - The filter chain.IOExceptionprotected void onNewTimestamp()
throws org.springframework.security.core.AuthenticationException
OAuthProviderProcessingFilteronNewTimestamp in class OAuthProviderProcessingFilterorg.springframework.security.core.AuthenticationException - If the timestamp shouldn't be new.protected OAuthProviderToken createOAuthToken(ConsumerAuthentication authentication)
authentication - The authentication request.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.Copyright © 2020. All rights reserved.