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

    Constructors
    Constructor
    Description
    Instantiates a new Hvl authorization context service.
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    void
    remove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext)
    void
    save(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
    • remove

      public void remove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorizationContext)
      Specified by:
      remove in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
    • findById

      public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findById(String id)
      Specified by:
      findById in interface org.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 interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService