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

    Modifier and Type
    Method
    Description
    void
    expire(String username)
    Expires a single user from the cache identified by the String agument
    void
    Expires all of the data that has been cached in this realm
     
  • Method Details

    • name

      String name()
      Returns:
      The name of this realm.
    • expire

      void expire(String username)
      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