Class RedisTokenBlacklistManager
java.lang.Object
com.broadleafcommerce.auth.authorization.security.tokenblacklist.redis.RedisTokenBlacklistManager
- All Implemented Interfaces:
TokenBlacklistManager
Redis-backed implementation of
TokenBlacklistManager- Since:
- AuthenticationServices 3.0.0, Release Train 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidblacklist(TokenBlacklistRequest request) Registers the given token with the token blacklist.protected RedisTokenBlacklistRepositorybooleanReports whether the given token is blacklisted.protected voidprotected voidvalidateRequest(TokenBlacklistRequest request) protected voidvalidateTokenType(String tokenType)
-
Constructor Details
-
RedisTokenBlacklistManager
-
-
Method Details
-
blacklist
Description copied from interface:TokenBlacklistManagerRegisters the given token with the token blacklist.- Specified by:
blacklistin interfaceTokenBlacklistManager- Parameters:
request- details about the token to blacklist
-
validateRequest
-
isBlacklisted
Description copied from interface:TokenBlacklistManagerReports whether the given token is blacklisted.- Specified by:
isBlacklistedin interfaceTokenBlacklistManager- Parameters:
request- details about the token to check the blacklist status of- Returns:
- true if the token is blacklisted, false otherwise
-
validateRequest
-
validateTokenType
-
getRepository
-