protected AbstractMetadataProvider idpMetadataProvider(ParserPool parserPool) {
AbstractMetadataProvider idpMetadataProvider;
try {
if (idpMetadataPath != null) {
Resource resource = null;
if (this.idpMetadataPath.startsWith(CommonHelper.RESOURCE_PREFIX)) {
String path = this.idpMetadataPath.substring(CommonHelper.RESOURCE_PREFIX.length());
if (!path.startsWith("/")) {
path = "/" + path;
}