KEYCLOAK-1107 saml and oidc broker options don't sho

This commit is contained in:
Stian Thorgersen 2015-03-17 12:10:39 +01:00
parent b6b4731f9e
commit 13b22d6644
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="org.keycloak.keycloak-broker-saml">
<resources>
<!-- Insert resources here -->
@ -10,6 +8,6 @@
<module name="org.keycloak.keycloak-core"/>
<module name="org.keycloak.keycloak-model-api"/>
<module name="org.keycloak.keycloak-broker-core"/>
<module name="org.picketlink.common"/>
</dependencies>
</module>

View file

@ -50,7 +50,7 @@ public class DefaultKeycloakSessionFactory implements KeycloakSessionFactory {
public void init() {
ProviderManager pm = new ProviderManager(getClass().getClassLoader(), Config.scope().getArray("providers"));
for (Spi spi : ServiceLoader.load(Spi.class)) {
for (Spi spi : ServiceLoader.load(Spi.class, getClass().getClassLoader())) {
Map<String, ProviderFactory> factories = new HashMap<String, ProviderFactory>();
factoriesMap.put(spi.getProviderClass(), factories);