if (configurationFileURL == null) {
logger.stsConfigurationFileNotFoundClassLoader(fileName);
try {
configurationFileURL = new URL(fileName);
} catch (Exception e) {
return new PicketLinkSTSConfiguration();
} finally {
if (configurationFileURL == null) {
logger.stsUsingDefaultConfiguration(fileName);
return new PicketLinkSTSConfiguration();
}
}
}
InputStream stream = configurationFileURL.openStream();
STSType stsConfig = (STSType) new STSConfigParser().parse(stream);
STSConfiguration configuration = new PicketLinkSTSConfiguration(stsConfig);
logger.stsConfigurationFileLoaded(fileName);
return configuration;
} catch (Exception e) {