Skip to content

Commit

Permalink
[BZ-1121155] - PicketLink SP application configuration is ignored whe…
Browse files Browse the repository at this point in the history
…n it is also added to PicketLink subsystem.
  • Loading branch information
pedroigor committed Oct 23, 2014
1 parent 75d3f67 commit bede0eb
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
import org.picketlink.identity.federation.web.config.IDPMetadataConfigurationProvider;
import org.picketlink.identity.federation.web.config.SPPostMetadataConfigurationProvider;
import org.picketlink.identity.federation.web.config.SPRedirectMetadataConfigurationProvider;
import org.wildfly.extension.picketlink.logging.PicketLinkLogger;
import org.wildfly.extension.picketlink.federation.config.IDPConfiguration;
import org.wildfly.extension.picketlink.federation.config.SPConfiguration;
import org.wildfly.extension.picketlink.logging.PicketLinkLogger;

import java.io.InputStream;

Expand Down Expand Up @@ -70,6 +70,10 @@ public IDPType getIDPConfiguration() {
}
}

if (configParsedIDPType != null) {
configuration.importFrom(configParsedIDPType);
}

return (IDPType) providerType;
}

Expand Down Expand Up @@ -101,6 +105,10 @@ public SPType getSPConfiguration() {
}
}

if (configParsedSPType != null) {
configuration.importFrom(configParsedSPType);
}

return (SPType) providerType;
}

Expand Down

0 comments on commit bede0eb

Please sign in to comment.