*/
public void synchronize() {
logger.debug("IN");
try {
IRoleDAO roleDAO = DAOFactory.getRoleDAO();
SingletonConfig conf = SingletonConfig.getInstance();
logger.debug("Config singleton retrived " + conf);
String portalSecurityProviderClass = conf.getConfigValue("SPAGOBI.SECURITY.PORTAL-SECURITY-CLASS.className");
portalSecurityProviderClass = portalSecurityProviderClass.trim();
logger.debug("Security class name retrived " + portalSecurityProviderClass);
Class secProvClass = Class.forName(portalSecurityProviderClass);
logger.debug("Security class found " + secProvClass);
ISecurityInfoProvider portalSecurityProvider = (ISecurityInfoProvider)secProvClass.newInstance();
logger.debug("Security class instance created " + portalSecurityProvider);
String secFilterSB = conf.getConfigValue("SPAGOBI.SECURITY.ROLE-NAME-PATTERN-FILTER");
logger.debug("Source bean filter retrived " + secFilterSB);
String rolePatternFilter = secFilterSB;
logger.debug("Filter string retrived " + rolePatternFilter);
Pattern filterPattern = Pattern.compile(rolePatternFilter);
logger.debug("Filter pattern regular expression " + filterPattern);