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 Details

    • OAuth2AuthorizationRowMapper

      public OAuth2AuthorizationRowMapper(RegisteredClientRepository registeredClientRepository)
      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

      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()