com.dyuproject.openid
Interface Discovery.UserCache

All Known Implementing Classes:
IdentifierSelectUserCache
Enclosing interface:
Discovery

public static interface Discovery.UserCache

The cached user objects used by relyingParty will be filled with data. The relying party always gets from the cache with clone set to true.


Method Summary
 OpenIdUser get(String key, boolean clone)
          Gets the user assoicated with the given key from the cache; The flag clone is whether to create a different instance containting the same properties (useful when the OpenIdUser is not deserialized but instead held in memory).
 void put(String key, OpenIdUser user)
          Puts the user associated with the key in the cache.
 

Method Detail

get

OpenIdUser get(String key,
               boolean clone)
Gets the user assoicated with the given key from the cache; The flag clone is whether to create a different instance containting the same properties (useful when the OpenIdUser is not deserialized but instead held in memory).


put

void put(String key,
         OpenIdUser user)
Puts the user associated with the key in the cache.



Copyright © 2008-2013. All Rights Reserved.