This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RedisTokenStore implements TokenStore { | |
private static final StringRedisSerializer STRING_SERIALIZER = new StringRedisSerializer(); | |
private static final ObjectMapper OBJECT_MAPPER = new JodaMapper().disable(WRITE_DATES_AS_TIMESTAMPS); | |
private final BoundHashOperations<String, String, OAuth2AccessToken> accessTokenStore; | |
private final BoundHashOperations<String, String, OAuth2AccessToken> authenticationToAccessTokenStore; | |
private final ListOperations<String, OAuth2AccessToken> userNameToAccessTokenStore; | |
private final ListOperations<String, OAuth2AccessToken> clientIdToAccessTokenStore; | |
private final BoundHashOperations<String, String, OAuth2RefreshToken> refreshTokenStore; |