Author: jfrederic.clere(a)jboss.com
Date: 2014-05-13 08:36:19 -0400 (Tue, 13 May 2014)
New Revision: 3288
Modified:
trunk/build/unix/buildbin.EAP6.sh
Log:
Add missing stuff for the SSL tests.
Modified: trunk/build/unix/buildbin.EAP6.sh
===================================================================
--- trunk/build/unix/buildbin.EAP6.sh 2014-05-13 11:37:37 UTC (rev 3287)
+++ trunk/build/unix/buildbin.EAP6.sh 2014-05-13 12:36:19 UTC (rev 3288)
@@ -98,6 +98,21 @@
cd TMP
jar xvf $file
rm META-INF/MANIFEST.MF
+ if [ $FILE = "clientcert_web.war"]; then
+cat << EOF > WEB-INF/jboss-web.xml
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+
+<jboss-web>
+ <security-domain>java:/jaas/cts-client-cert</security-domain>
+ <context-root>clientcert_web</context-root>
+ <security-role>
+ <role-name>Administrator</role-name>
+ <principal-name>CN=CTS, OU=Java Software, O=Sun Microsystems Inc.,
L=Burlington, ST=MA, C=US</principal-name>
+ </security-role>
+</jboss-web>
+EOF
+ fi
jar cvf $FILE *
cp $FILE $EAP6/standalone/deployments/
cd -
Show replies by date