Class JwtTokenAuthenticationGuavaCache
- java.lang.Object
-
- com.cumulocity.microservice.security.token.JwtTokenAuthenticationGuavaCache
-
- All Implemented Interfaces:
JwtAuthenticatedTokenCache
public class JwtTokenAuthenticationGuavaCache extends Object implements JwtAuthenticatedTokenCache
-
-
Constructor Summary
Constructors Constructor Description JwtTokenAuthenticationGuavaCache(int maximumSize, int expireAfterAccessInMinutes, int jwtCacheExpireAfterWrite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
get(JwtCredentials key, JwtTokenAuthenticationLoader jwtTokenAuthenticationLoader)
-
-
-
Method Detail
-
get
public org.springframework.security.core.Authentication get(JwtCredentials key, JwtTokenAuthenticationLoader jwtTokenAuthenticationLoader) throws ExecutionException
- Specified by:
get
in interfaceJwtAuthenticatedTokenCache
- Throws:
ExecutionException
-
-