Class JdbcOAuth2AuthorizationService.OAuth2AuthorizationParametersMapper
java.lang.Object
org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.OAuth2AuthorizationParametersMapper
- All Implemented Interfaces:
Function<OAuth2Authorization,List<org.springframework.jdbc.core.SqlParameterValue>>
- Enclosing class:
- JdbcOAuth2AuthorizationService
@Deprecated(forRemoval=true,
since="7.0")
public static class JdbcOAuth2AuthorizationService.OAuth2AuthorizationParametersMapper
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
A
Function that maps OAuth2Authorization to a List of
SqlParameterValue using an instance of Jackson 2's ObjectMapper.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.jdbc.core.SqlParameterValue>apply(OAuth2Authorization authorization) protected final com.fasterxml.jackson.databind.ObjectMapperDeprecated, for removal: This API element is subject to removal in a future version.final voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
OAuth2AuthorizationParametersMapper
public OAuth2AuthorizationParametersMapper()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getObjectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()Deprecated, for removal: This API element is subject to removal in a future version. -
setObjectMapper
public final void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version. -
apply
public List<org.springframework.jdbc.core.SqlParameterValue> apply(OAuth2Authorization authorization) - Specified by:
applyin interfaceFunction<OAuth2Authorization,List<org.springframework.jdbc.core.SqlParameterValue>>
-
JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationParametersMapperto switch to Jackson 3.