public final class OAuth2TokenRevocationEndpointConfigurer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
OAuth2TokenRevocationEndpointConfigurer |
authenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)
Adds an
AuthenticationProvider used for authenticating a type of OAuth2TokenRevocationAuthenticationToken. |
OAuth2TokenRevocationEndpointConfigurer |
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() |
protected <T> T |
postProcess(T object) |
OAuth2TokenRevocationEndpointConfigurer |
revocationRequestConverter(org.springframework.security.web.authentication.AuthenticationConverter revocationRequestConverter)
Sets the
AuthenticationConverter used when attempting to extract a Revoke Token Request from HttpServletRequest
to an instance of OAuth2TokenRevocationAuthenticationToken used for authenticating the client. |
OAuth2TokenRevocationEndpointConfigurer |
revocationResponseHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler revocationResponseHandler)
Sets the
AuthenticationSuccessHandler used for handling an OAuth2TokenRevocationAuthenticationToken. |
public OAuth2TokenRevocationEndpointConfigurer revocationRequestConverter(org.springframework.security.web.authentication.AuthenticationConverter revocationRequestConverter)
AuthenticationConverter used when attempting to extract a Revoke Token Request from HttpServletRequest
to an instance of OAuth2TokenRevocationAuthenticationToken used for authenticating the client.revocationRequestConverter - the AuthenticationConverter used when attempting to extract client credentials from HttpServletRequestOAuth2TokenRevocationEndpointConfigurer for further configurationpublic OAuth2TokenRevocationEndpointConfigurer authenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)
AuthenticationProvider used for authenticating a type of OAuth2TokenRevocationAuthenticationToken.authenticationProvider - an AuthenticationProvider used for authenticating a type of OAuth2TokenRevocationAuthenticationTokenOAuth2TokenRevocationEndpointConfigurer for further configurationpublic OAuth2TokenRevocationEndpointConfigurer revocationResponseHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler revocationResponseHandler)
AuthenticationSuccessHandler used for handling an OAuth2TokenRevocationAuthenticationToken.revocationResponseHandler - the AuthenticationSuccessHandler used for handling an OAuth2TokenRevocationAuthenticationTokenOAuth2TokenRevocationEndpointConfigurer for further configurationpublic OAuth2TokenRevocationEndpointConfigurer 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 OAuth2AuthenticationExceptionOAuth2TokenRevocationEndpointConfigurer for further configurationprotected final <T> T postProcess(T object)
protected final org.springframework.security.config.annotation.ObjectPostProcessor<java.lang.Object> getObjectPostProcessor()