Package io.meeds.oauth2.server.storage
Class OAuthConsentCachedStorage
java.lang.Object
io.meeds.oauth2.server.storage.OAuthConsentCachedStorage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentvoidremove(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent) voidsave(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent)
-
Field Details
-
CACHE_NAME
- See Also:
-
-
Constructor Details
-
OAuthConsentCachedStorage
public OAuthConsentCachedStorage()
-
-
Method Details
-
findById
-
save
@CacheEvict(cacheNames="oauth.consents", allEntries=true) public void save(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent) -
remove
@CacheEvict(cacheNames="oauth.consents", allEntries=true) public void remove(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent) -
evictCache
@CacheEvict(cacheNames="oauth.consents", allEntries=true) public void evictCache()
-