@Deprecated public class UserAuthorizationProcessingFilter extends org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
processes URL
is "/oauth_authenticate_token".
This filter looks for one request parameter for the token id that is being authorized. The
default name of the paramaters is "requestToken", but this can be configured.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CALLBACK_ATTRIBUTE
Deprecated.
|
protected static String |
VERIFIER_ATTRIBUTE
Deprecated.
|
| Constructor and Description |
|---|
UserAuthorizationProcessingFilter()
Deprecated.
|
UserAuthorizationProcessingFilter(String defaultProcessesUrl)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
org.springframework.security.core.Authentication |
attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
String |
getTokenParameterName()
Deprecated.
The name of the request parameter that supplies the token id.
|
OAuthProviderTokenServices |
getTokenServices()
Deprecated.
Get the OAuth token services.
|
OAuthVerifierServices |
getVerifierServices()
Deprecated.
The verifier services to use.
|
boolean |
isRequire10a()
Deprecated.
Whether to require 1.0a support.
|
void |
setRequire10a(boolean require10a)
Deprecated.
Whether to require 1.0a support.
|
void |
setTokenIdParameterName(String tokenIdParameterName)
Deprecated.
The name of the request parameter that supplies the token id.
|
void |
setTokenServices(OAuthProviderTokenServices tokenServices)
Deprecated.
The OAuth token services.
|
void |
setVerifierServices(OAuthVerifierServices verifierServices)
Deprecated.
The verifier services to use.
|
doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy, successfulAuthentication, unsuccessfulAuthenticationprotected static final String CALLBACK_ATTRIBUTE
protected static final String VERIFIER_ATTRIBUTE
public UserAuthorizationProcessingFilter()
public UserAuthorizationProcessingFilter(String defaultProcessesUrl)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilterpublic org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws org.springframework.security.core.AuthenticationException
attemptAuthentication in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilterorg.springframework.security.core.AuthenticationExceptionpublic String getTokenParameterName()
public void setTokenIdParameterName(String tokenIdParameterName)
tokenIdParameterName - The name of the request parameter that supplies the token id.public OAuthProviderTokenServices getTokenServices()
@Autowired public void setTokenServices(OAuthProviderTokenServices tokenServices)
tokenServices - The OAuth token services.public OAuthVerifierServices getVerifierServices()
@Autowired public void setVerifierServices(OAuthVerifierServices verifierServices)
verifierServices - The verifier services to use.public boolean isRequire10a()
public void setRequire10a(boolean require10a)
require10a - Whether to require 1.0a support.Copyright © 2020. All rights reserved.