Module org.elasticsearch.xcore
Interface CachingRealm
public interface CachingRealm
This interface allows a
Realm to indicate that it supports caching user credentials
and expose the ability to clear the cache for a given String identifier or all of the cache-
Method Summary
-
Method Details
-
name
String name()- Returns:
- The name of this realm.
-
expire
Expires a single user from the cache identified by the String agument- Parameters:
username- the identifier of the user to be cleared
-
expireAll
void expireAll()Expires all of the data that has been cached in this realm
-