// Load the config if PolicyConfig is empty
if (this.appConfigs.size() == 0)
this.loadConfig();
AppConfigurationEntry[] entry = null;
ApplicationPolicy aPolicy = this.getApplicationPolicy(appName);
BaseAuthenticationInfo authInfo = null;
if (aPolicy != null)
authInfo = aPolicy.getAuthenticationInfo();
if (authInfo == null)
{
if (log.isTraceEnabled())
log.trace("getAppConfigurationEntry(" + appName + "), no entry in appConfigs, tyring parentCont: "
+ parentConfig);
if (parentConfig != null)
entry = parentConfig.getAppConfigurationEntry(appName);
if (entry == null)
{
if (log.isTraceEnabled())
log.trace("getAppConfigurationEntry(" + appName + "), no entry in parentConfig, trying: "
+ DEFAULT_APP_CONFIG_NAME);
}
ApplicationPolicy defPolicy = appConfigs.get(DEFAULT_APP_CONFIG_NAME);
authInfo = defPolicy != null ? (AuthenticationInfo) defPolicy.getAuthenticationInfo() : null;
}
if (authInfo != null)
{
if (log.isTraceEnabled())