Class JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationRowMapper
java.lang.Object
org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<OAuth2Authorization>
- Enclosing class:
- JdbcOAuth2AuthorizationService
public static class JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationRowMapper
extends Object
The default
RowMapper that maps the current row in
java.sql.ResultSet to OAuth2Authorization using Jackson 3's
JsonMapper.- Since:
- 7.0
-
Constructor Summary
ConstructorsConstructorDescriptionJsonMapperOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository) JsonMapperOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository, tools.jackson.databind.json.JsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.springframework.jdbc.support.lob.LobHandlerprotected final RegisteredClientRepositoryfinal voidsetLobHandler(org.springframework.jdbc.support.lob.LobHandler lobHandler)
-
Constructor Details
-
JsonMapperOAuth2AuthorizationRowMapper
public JsonMapperOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository) -
JsonMapperOAuth2AuthorizationRowMapper
public JsonMapperOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository, tools.jackson.databind.json.JsonMapper jsonMapper)
-
-
Method Details
-
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()
-