Package io.jmix.authserver.service
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
ConstructorsConstructorDescriptionOracleJdbcOAuth2AuthorizationService
(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.oauth2.server.authorization.OAuth2Authorization
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
-
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 interfaceorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
- Overrides:
findByToken
in classorg.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
-
findBy
-
initColumnMetadata
protected static void initColumnMetadata(org.springframework.jdbc.core.JdbcOperations jdbcOperations) -
mapToSqlParameter
-