Class PrefixCollisionValidator

java.lang.Object
com.github.catomat0.oauthhelper.autoconfigure.PrefixCollisionValidator

public class PrefixCollisionValidator extends Object
세 종류 토큰이 사용하는 Redis prefix 가 서로 충돌하지 않는지 startup 시 검증.

같은 prefix 를 쓰면 서로 다른 토큰의 키가 우연히 겹칠 수 있으므로 fail-fast.

  • Constructor Details

    • PrefixCollisionValidator

      public PrefixCollisionValidator(org.springframework.beans.factory.ObjectProvider<OahSignupTokenProperties> signupTokenPropsProvider, org.springframework.beans.factory.ObjectProvider<OahJwtProperties> jwtPropsProvider, org.springframework.beans.factory.ObjectProvider<OahProperties> oauthPropsProvider)