if (authenticationFactory != null) {
return;
}
// 如果传入的工厂为空将采用默认的工厂模式
if (StringUtil.isEmptyAndNull(factoryName)) {
authenticationFactory = new DefaultAuthenticationFactory();
return;
}
authenticationFactory = (AuthenticationFactory)RefObjectUtil.loadClass(factoryName);
}