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 import java.util.Properties ; 11 12 13 20 public class SerializableAccessProvider extends FileAccessProvider { 21 23 protected static final Log log = LogFactory.getLog(SerializableAccessProvider.class); 24 25 27 30 public boolean init(Properties properties) { 31 boolean retVal = super.init(properties); 32 33 if (retVal) { 34 groupCache = new SerializableGroupsCache(properties.getProperty("storeFile"), properties.getProperty("storeFileType")); 35 36 return true; 37 } 38 39 return false; 40 } 41 } 42 | Popular Tags |