@Deprecated public class ProtectedResourceProcessingFilter extends OAuthProviderProcessingFilter
ignoreMissingCredentials to false.
messages, OAUTH_PROCESSING_HANDLED| Constructor and Description |
|---|
ProtectedResourceProcessingFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowMethod(String method)
Deprecated.
Whether to allow the specified HTTP method.
|
OAuthAuthenticationHandler |
getAuthHandler()
Deprecated.
The authentication handler.
|
boolean |
isAllowAllMethods()
Deprecated.
Whether to allow all methods.
|
protected void |
onValidSignature(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
Deprecated.
Logic executed on valid signature.
|
protected boolean |
requiresAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Deprecated.
Whether this filter is configured to process the specified request.
|
void |
setAllowAllMethods(boolean allowAllMethods)
Deprecated.
Whether to allow all methods.
|
void |
setAuthHandler(OAuthAuthenticationHandler authHandler)
Deprecated.
The authentication handler.
|
void |
setFilterProcessesUrl(String filterProcessesUrl)
Deprecated.
The URL for which this filter will be applied.
|
afterPropertiesSet, createDetails, destroy, doFilter, fail, getAuthenticationEntryPoint, getConsumerDetailsService, getFilterProcessesUrl, getNonceServices, getProviderSupport, getSignatureMethodFactory, getTokenServices, init, isIgnoreInadequateCredentials, onNewTimestamp, parametersAreAdequate, resetPreviousAuthentication, setAllowedMethods, setAuthenticationEntryPoint, setConsumerDetailsService, setIgnoreMissingCredentials, setMessageSource, setNonceServices, setProviderSupport, setSignatureMethodFactory, setTokenServices, skipProcessing, validateAdditionalParameters, validateOAuthParams, validateSignaturepublic ProtectedResourceProcessingFilter()
protected boolean allowMethod(String method)
OAuthProviderProcessingFilterallowMethod in class OAuthProviderProcessingFiltermethod - The HTTP method to check for allowing.protected void onValidSignature(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
OAuthProviderProcessingFilterConsumerAuthentication
Default implementation continues the chain.onValidSignature in class OAuthProviderProcessingFilterrequest - The request.response - The responsechain - The filter chain.IOExceptionjavax.servlet.ServletExceptionprotected boolean requiresAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
OAuthProviderProcessingFilterrequiresAuthentication in class OAuthProviderProcessingFilterrequest - The request.response - The responsefilterChain - The filter chainpublic void setFilterProcessesUrl(String filterProcessesUrl)
OAuthProviderProcessingFiltersetFilterProcessesUrl in class OAuthProviderProcessingFilterfilterProcessesUrl - The URL for which this filter will be applied.public boolean isAllowAllMethods()
public void setAllowAllMethods(boolean allowAllMethods)
allowAllMethods - Whether to allow all methods.public OAuthAuthenticationHandler getAuthHandler()
public void setAuthHandler(OAuthAuthenticationHandler authHandler)
authHandler - The authentication handler.Copyright © 2020. All rights reserved.