@Deprecated public class OAuthConsumerProcessingFilter extends Object implements javax.servlet.Filter, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
OAuthConsumerTokens.
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.support.MessageSourceAccessor |
messages
Deprecated.
|
| Constructor and Description |
|---|
OAuthConsumerProcessingFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
void |
destroy()
Deprecated.
|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
Deprecated.
|
protected Set<String> |
getAccessTokenDependencies(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Deprecated.
Loads the access token dependencies for the given request.
|
org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource |
getObjectDefinitionSource()
Deprecated.
The filter invocation definition source.
|
ProtectedResourceDetailsService |
getProtectedResourceDetailsService()
Deprecated.
The protected resource details service.
|
void |
init(javax.servlet.FilterConfig ignored)
Deprecated.
|
boolean |
isRequireAuthenticated()
Deprecated.
Whether to require the current authentication to be authenticated.
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
Deprecated.
Set the message source.
|
void |
setObjectDefinitionSource(org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource objectDefinitionSource)
Deprecated.
The filter invocation definition source.
|
void |
setProtectedResourceDetailsService(ProtectedResourceDetailsService protectedResourceDetailsService)
Deprecated.
The protected resource details service.
|
void |
setRequireAuthenticated(boolean requireAuthenticated)
Deprecated.
Whether to require the current authentication to be authenticated.
|
protected org.springframework.context.support.MessageSourceAccessor messages
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void init(javax.servlet.FilterConfig ignored)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Filterpublic void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionprotected Set<String> getAccessTokenDependencies(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
resource ids
for which an OAuth access token is required.request - The request.response - The responsefilterChain - The filter chainpublic ProtectedResourceDetailsService getProtectedResourceDetailsService()
@Autowired public void setProtectedResourceDetailsService(ProtectedResourceDetailsService protectedResourceDetailsService)
protectedResourceDetailsService - The protected resource details service.public org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource getObjectDefinitionSource()
public void setObjectDefinitionSource(org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource objectDefinitionSource)
objectDefinitionSource - The filter invocation definition source.public void setMessageSource(org.springframework.context.MessageSource messageSource)
setMessageSource in interface org.springframework.context.MessageSourceAwaremessageSource - The message source.public boolean isRequireAuthenticated()
public void setRequireAuthenticated(boolean requireAuthenticated)
requireAuthenticated - Whether to require the current authentication to be authenticated.Copyright © 2020. All rights reserved.