Class OracleJdbcOAuth2AuthorizationService

java.lang.Object
org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
io.jmix.authserver.service.OracleJdbcOAuth2AuthorizationService
All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService

public class OracleJdbcOAuth2AuthorizationService extends org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
Class that provides JdbcOAuth2AuthorizationService for Oracle database.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService

    org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.OAuth2AuthorizationParametersMapper, org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.OAuth2AuthorizationRowMapper
  • Constructor Summary

    Constructors
    Constructor
    Description
    OracleJdbcOAuth2AuthorizationService(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.oauth2.server.authorization.OAuth2Authorization
    findBy(String filter, List<org.springframework.jdbc.core.SqlParameterValue> parameters)
     
    org.springframework.security.oauth2.server.authorization.OAuth2Authorization
    findByToken(String token, org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType)
     
    protected static void
    initColumnMetadata(org.springframework.jdbc.core.JdbcOperations jdbcOperations)
     
    protected static org.springframework.jdbc.core.SqlParameterValue
    mapToSqlParameter(String columnName, String value)
     

    Methods inherited from class org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService

    findById, getAuthorizationParametersMapper, getAuthorizationRowMapper, getJdbcOperations, getLobHandler, remove, save, setAuthorizationParametersMapper, setAuthorizationRowMapper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OracleJdbcOAuth2AuthorizationService

      public OracleJdbcOAuth2AuthorizationService(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
  • Method Details

    • findByToken

      @Nullable public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findByToken(String token, @Nullable org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType)
      Specified by:
      findByToken in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
      Overrides:
      findByToken in class org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
    • findBy

      @Nullable protected org.springframework.security.oauth2.server.authorization.OAuth2Authorization findBy(String filter, List<org.springframework.jdbc.core.SqlParameterValue> parameters)
    • initColumnMetadata

      protected static void initColumnMetadata(org.springframework.jdbc.core.JdbcOperations jdbcOperations)
    • mapToSqlParameter

      protected static org.springframework.jdbc.core.SqlParameterValue mapToSqlParameter(String columnName, String value)