View Javadoc

    1   package org.acegisecurity.providers.x509.cache;
    2
    3   import org.acegisecurity.providers.x509.X509UserCache;
    4   import org.acegisecurity.userdetails.UserDetails;
    5
    6   import java.security.cert.X509Certificate;
    7
    8   /***
    9    * "Cache" that doesn't do any caching.
    10   *
    11   * @author Luke Taylor
    12   * @version $Id: NullX509UserCache.java,v 1.3 2005/11/29 13:10:08 benalex Exp $
    13   */
    14  public class NullX509UserCache implements X509UserCache {
    15      //~ Methods ================================================================
    16
    17      public UserDetails getUserFromCache(X509Certificate certificate) {
    18          return null;
    19      }
    20
    21      public void putUserInCache(X509Certificate certificate, UserDetails user) {}
    22
    23      public void removeUserFromCache(X509Certificate certificate) {}
    24  }