Class JwtTokenAuthenticationGuavaCache
java.lang.Object
com.cumulocity.microservice.security.token.JwtTokenAuthenticationGuavaCache
- All Implemented Interfaces:
JwtAuthenticatedTokenCache
-
Constructor Summary
ConstructorDescriptionJwtTokenAuthenticationGuavaCache
(int maximumSize, int expireAfterAccessInMinutes, int jwtCacheExpireAfterWrite) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
get
(JwtCredentials key, JwtTokenAuthenticationLoader jwtTokenAuthenticationLoader)
-
Constructor Details
-
JwtTokenAuthenticationGuavaCache
public JwtTokenAuthenticationGuavaCache(int maximumSize, int expireAfterAccessInMinutes, int jwtCacheExpireAfterWrite)
-
-
Method Details
-
get
public org.springframework.security.core.Authentication get(JwtCredentials key, JwtTokenAuthenticationLoader jwtTokenAuthenticationLoader) throws ExecutionException - Specified by:
get
in interfaceJwtAuthenticatedTokenCache
- Throws:
ExecutionException
-