[java-identity-provider] 02/02: Fork jaas-authn-context.xml
Rod Widdowson
rdw at steadingsoftware.com
Mon Aug 26 10:10:10 EDT 2019
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b221397bd708fe64c17008e007f3cf558b2d64a6
commit b221397bd708fe64c17008e007f3cf558b2d64a6
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Aug 26 15:01:39 2019 +0100
Fork jaas-authn-context.xml
In the test environment idp.home is classpath and so we cnanot feed
that into a filesystem resource.
---
.../resources/conf/authn/jaas-authn-config.xml | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/idp-conf/src/test/resources/conf/authn/jaas-authn-config.xml b/idp-conf/src/test/resources/conf/authn/jaas-authn-config.xml
new file mode 100644
index 0000000..7f953a7
--- /dev/null
+++ b/idp-conf/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