Class JdbcOAuth2AuthorizationService.OAuth2AuthorizationRowMapper
java.lang.Object
org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.OAuth2AuthorizationRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<OAuth2Authorization>
- Enclosing class:
- JdbcOAuth2AuthorizationService
@Deprecated(forRemoval=true,
since="7.0")
public static class JdbcOAuth2AuthorizationService.OAuth2AuthorizationRowMapper
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
A
RowMapper that maps the current row in java.sql.ResultSet to
OAuth2Authorization using Jackson 2's ObjectMapper.-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.springframework.jdbc.support.lob.LobHandlerprotected com.fasterxml.jackson.databind.ObjectMapperDeprecated, for removal: This API element is subject to removal in a future version.protected final RegisteredClientRepositoryfinal voidsetLobHandler(org.springframework.jdbc.support.lob.LobHandler lobHandler) final voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
OAuth2AuthorizationRowMapper
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
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. -
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()Deprecated, for removal: This API element is subject to removal in a future version. -
mapRow
- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<OAuth2Authorization>- Throws:
SQLException
-
setLobHandler
public final void setLobHandler(org.springframework.jdbc.support.lob.LobHandler lobHandler) -
getRegisteredClientRepository
-
getLobHandler
protected final org.springframework.jdbc.support.lob.LobHandler getLobHandler()
-
JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationRowMapperto switch to Jackson 3.