[java-idp-oidc] branch master updated: The conf included to make sure classpath resource is used.

Henri Mikkonen henri.mikkonen at iki.fi
Mon Jan 27 08:05:29 EST 2020


This is an automated email from the git hooks/post-receive script.

hjmikkon pushed a commit to branch master
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=d56b8fa8a198a3592c8a90943c97886347ebf964

The following commit(s) were added to refs/heads/master by this push:
       new  d56b8fa   The conf included to make sure classpath resource is used.
d56b8fa is described below

commit d56b8fa8a198a3592c8a90943c97886347ebf964
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Jan 27 15:05:23 2020 +0200

    The conf included to make sure classpath resource is used.
---
 .../resources/conf/authn/jaas-authn-config.xml     | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/idp-oidc-extension-impl/src/test/resources/conf/authn/jaas-authn-config.xml b/idp-oidc-extension-impl/src/test/resources/conf/authn/jaas-authn-config.xml
new file mode 100644
index 0000000..7f953a7
--- /dev/null
+++ b/idp-oidc-extension-impl/src/test/resources/conf/authn/jaas-authn-config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:context="http://www.springframework.org/schema/context"
+       xmlns:util="http://www.springframework.org/schema/util"
+       xmlns:p="http://www.springframework.org/schema/p"
+       xmlns:c="http://www.springframework.org/schema/c"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
+                           http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
+                           
+       default-init-method="initialize"
+       default-destroy-method="destroy">
+    
+    <!-- Specify your JAAS config. -->
+    <bean id="JAASConfig" class="org.springframework.core.io.ClassPathResource" c:path="%{idp.home}/conf/authn/jaas.config" />
+    
+    <util:property-path id="shibboleth.authn.JAAS.JAASConfigURI" path="JAASConfig.URI" />
+    
+    <!-- Specify the application name(s) in the JAAS config. -->
+    <util:list id="shibboleth.authn.JAAS.LoginConfigNames">
+        <value>ShibUserPassAuth</value>
+    </util:list>
+
+</beans>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list