public final class OAuth2TokenIntrospectionEndpointConfigurer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
OAuth2TokenIntrospectionEndpointConfigurer |
authenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)
Adds an
AuthenticationProvider used for authenticating a type of OAuth2TokenIntrospectionAuthenticationToken. |
OAuth2TokenIntrospectionEndpointConfigurer |
errorResponseHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler errorResponseHandler)
Sets the
AuthenticationFailureHandler used for handling an OAuth2AuthenticationException
and returning the Error Response. |
protected org.springframework.security.config.annotation.ObjectPostProcessor<java.lang.Object> |
getObjectPostProcessor() |
org.springframework.security.web.util.matcher.RequestMatcher |
getRequestMatcher() |
OAuth2TokenIntrospectionEndpointConfigurer |
introspectionRequestConverter(org.springframework.security.web.authentication.AuthenticationConverter introspectionRequestConverter)
Sets the
AuthenticationConverter used when attempting to extract an Introspection Request from HttpServletRequest
to an instance of OAuth2TokenIntrospectionAuthenticationToken used for authenticating the request. |
OAuth2TokenIntrospectionEndpointConfigurer |
introspectionResponseHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler introspectionResponseHandler)
Sets the
AuthenticationSuccessHandler used for handling an OAuth2TokenIntrospectionAuthenticationToken. |
protected <T> T |
postProcess(T object) |
public OAuth2TokenIntrospectionEndpointConfigurer introspectionRequestConverter(org.springframework.security.web.authentication.AuthenticationConverter introspectionRequestConverter)
AuthenticationConverter used when attempting to extract an Introspection Request from HttpServletRequest
to an instance of OAuth2TokenIntrospectionAuthenticationToken used for authenticating the request.introspectionRequestConverter - the AuthenticationConverter used when attempting to extract an Introspection Request from HttpServletRequestOAuth2TokenIntrospectionEndpointConfigurer for further configurationpublic OAuth2TokenIntrospectionEndpointConfigurer authenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)
AuthenticationProvider used for authenticating a type of OAuth2TokenIntrospectionAuthenticationToken.authenticationProvider - an AuthenticationProvider used for authenticating a type of OAuth2TokenIntrospectionAuthenticationTokenOAuth2TokenIntrospectionEndpointConfigurer for further configurationpublic OAuth2TokenIntrospectionEndpointConfigurer introspectionResponseHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler introspectionResponseHandler)
AuthenticationSuccessHandler used for handling an OAuth2TokenIntrospectionAuthenticationToken.introspectionResponseHandler - the AuthenticationSuccessHandler used for handling an OAuth2TokenIntrospectionAuthenticationTokenOAuth2TokenIntrospectionEndpointConfigurer for further configurationpublic OAuth2TokenIntrospectionEndpointConfigurer errorResponseHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler errorResponseHandler)
AuthenticationFailureHandler used for handling an OAuth2AuthenticationException
and returning the Error Response.errorResponseHandler - the AuthenticationFailureHandler used for handling an OAuth2AuthenticationExceptionOAuth2TokenIntrospectionEndpointConfigurer for further configurationpublic org.springframework.security.web.util.matcher.RequestMatcher getRequestMatcher()
protected final <T> T postProcess(T object)
protected final org.springframework.security.config.annotation.ObjectPostProcessor<java.lang.Object> getObjectPostProcessor()