Class EhCacheBasedX509UserCache

java.lang.Object
org.springframework.ws.soap.security.x509.cache.EhCacheBasedX509UserCache
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, X509UserCache

@Deprecated public class EhCacheBasedX509UserCache extends Object implements X509UserCache, org.springframework.beans.factory.InitializingBean
Deprecated.
Migrate to SpringBasedX509UserCache and inject a platform neutral Spring-based Cache.
Caches User objects using a Spring IoC defined EHCACHE.

Migrated from Spring Security 2 since it has been removed in Spring Security 3.

Author:
Luke Taylor, Ben Alex, Greg Turnquist
  • Constructor Details

    • EhCacheBasedX509UserCache

      public EhCacheBasedX509UserCache()
      Deprecated.
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Deprecated.
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getUserFromCache

      public org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert)
      Deprecated.
      Specified by:
      getUserFromCache in interface X509UserCache
    • putUserInCache

      public void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user)
      Deprecated.
      Specified by:
      putUserInCache in interface X509UserCache
    • removeUserFromCache

      public void removeUserFromCache(X509Certificate userCert)
      Deprecated.
      Specified by:
      removeUserFromCache in interface X509UserCache
    • setCache

      public void setCache(net.sf.ehcache.Ehcache cache)
      Deprecated.