url = Thread.currentThread().getContextClassLoader().getResource("core-sts");
}
if (url != null) {
stream = url.openStream();
stsType = (STSType) new STSConfigParser().parse(stream);
}
} catch (Exception e) {
throw PicketLinkLogger.ROOT_LOGGER.federationCouldNotParseSTSConfig(e);
} finally {
try {