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 Details

    • JsonMapperOAuth2AuthorizationRowMapper

      public JsonMapperOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository)
    • JsonMapperOAuth2AuthorizationRowMapper

      public JsonMapperOAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository, tools.jackson.databind.json.JsonMapper jsonMapper)
  • Method Details

    • mapRow

      public OAuth2Authorization mapRow(ResultSet rs, int rowNum) throws SQLException
      Specified by:
      mapRow in interface org.springframework.jdbc.core.RowMapper<OAuth2Authorization>
      Throws:
      SQLException
    • setLobHandler

      public final void setLobHandler(org.springframework.jdbc.support.lob.LobHandler lobHandler)
    • getRegisteredClientRepository

      protected final RegisteredClientRepository getRegisteredClientRepository()
    • getLobHandler

      protected final org.springframework.jdbc.support.lob.LobHandler getLobHandler()