protected void configureSamlJaas()

in src/main/java/org/apache/sling/auth/saml2/Activator.java [81:88]


    protected void configureSamlJaas() throws IOException {
        Dictionary<String, Object> props = new Hashtable();
        props.put("jaas.classname", "org.apache.sling.auth.saml2.sp.Saml2LoginModule");
        props.put("jaas.controlFlag", "Sufficient");
        props.put("jaas.realmName", "jackrabbit.oak");
        props.put("jaas.ranking", 110);
        configAdmin.createFactoryConfiguration("org.apache.felix.jaas.Configuration.factory", null).update(props);
    }