1 5 package com.opensymphony.user.provider.file; 6 7 import org.apache.commons.logging.Log; 8 import org.apache.commons.logging.LogFactory; 9 10 11 import java.util.Properties ; 12 13 14 21 public class SerializableProfileProvider extends FileProfileProvider { 22 24 protected static final Log log = LogFactory.getLog(SerializableProfileProvider.class); 25 26 public boolean init(Properties properties) { 27 boolean retVal = super.init(properties); 28 29 if (retVal) { 30 propertySetCache = new SerializablePropertySetCache(properties.getProperty("storeFile"), properties.getProperty("storeFileType")); 31 32 return true; 33 } 34 35 return false; 36 } 37 38 } 39 40 | Popular Tags |