Class HvlAuthorizationContextRedisService
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.oidc.redis.service.HvlAuthorizationContextRedisService
- All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
@Transactional
public class HvlAuthorizationContextRedisService
extends Object
implements org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
It is use to manage context service when redis profile is selected.
-
Constructor Summary
ConstructorDescriptionInstantiates a new Hvl authorization context service. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.server.authorization.OAuth2Authorization
org.springframework.security.oauth2.server.authorization.OAuth2Authorization
findByToken
(String token, org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) void
remove
(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext) void
save
(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext)
-
Constructor Details
-
HvlAuthorizationContextRedisService
public HvlAuthorizationContextRedisService()Instantiates a new Hvl authorization context service.
-
-
Method Details
-
save
public void save(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext) - Specified by:
save
in interfaceorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
-
remove
public void remove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext) - Specified by:
remove
in interfaceorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
-
findById
public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findById(String id) - Specified by:
findById
in interfaceorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
-
findByToken
public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findByToken(String token, org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) - Specified by:
findByToken
in interfaceorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
-