All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.acegisecurity.providers.x509.cache.NullX509UserCache Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package org.acegisecurity.providers.x509.cache;

import org.acegisecurity.providers.x509.X509UserCache;
import org.acegisecurity.userdetails.UserDetails;

import java.security.cert.X509Certificate;

/**
 * "Cache" that doesn't do any caching.
 *
 * @author Luke Taylor
 * @version $Id: NullX509UserCache.java,v 1.3 2005/11/29 13:10:08 benalex Exp $
 */
public class NullX509UserCache implements X509UserCache {
    //~ Methods ================================================================

    public UserDetails getUserFromCache(X509Certificate certificate) {
        return null;
    }

    public void putUserInCache(X509Certificate certificate, UserDetails user) {}

    public void removeUserFromCache(X509Certificate certificate) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy