Class JmixJdbcOAuth2AuthorizationService

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

public class JmixJdbcOAuth2AuthorizationService extends org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
  • Nested Class Summary

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

    org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationParametersMapper, org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.JsonMapperOAuth2AuthorizationRowMapper, org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.OAuth2AuthorizationParametersMapper, org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.OAuth2AuthorizationRowMapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixJdbcOAuth2AuthorizationService(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
     
    JmixJdbcOAuth2AuthorizationService(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, org.springframework.jdbc.support.lob.LobHandler lobHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isRevoked(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
     
    protected boolean
     
    void
    save(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
     
    protected boolean
    shouldRemoveToken(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
     

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

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

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • JmixJdbcOAuth2AuthorizationService

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

      public JmixJdbcOAuth2AuthorizationService(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, org.springframework.jdbc.support.lob.LobHandler lobHandler)
  • Method Details

    • save

      public void save(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
      Specified by:
      save in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
      Overrides:
      save in class org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
    • shouldRemoveToken

      protected boolean shouldRemoveToken(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
    • isTokenRemovalEnabled

      protected boolean isTokenRemovalEnabled()
    • isRevoked

      protected boolean isRevoked(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)