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

public static class JdbcOAuth2AuthorizationService.OAuth2AuthorizationParametersMapper extends Object implements Function<OAuth2Authorization,List<org.springframework.jdbc.core.SqlParameterValue>>
The default Function that maps OAuth2Authorization to a List of SqlParameterValue.
  • Constructor Details

    • OAuth2AuthorizationParametersMapper

      public OAuth2AuthorizationParametersMapper()
  • Method Details

    • apply

      public List<org.springframework.jdbc.core.SqlParameterValue> apply(OAuth2Authorization authorization)
      Specified by:
      apply in interface Function<OAuth2Authorization,List<org.springframework.jdbc.core.SqlParameterValue>>
    • setObjectMapper

      public final void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • getObjectMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()