Errors from requests with invalid subjects are now implementation specific.
[java-idp.git] / bin / SiteSigner
1 #!/bin/sh
2
3 SHIB_HOME=/usr/local/tomcat/webapps/shibboleth
4
5 #Where log4j config file is
6 LOG_CONFIG=$SHIB_HOME/WEB-INF/classes/conf/log4j.properties
7
8 #Where to find jar files...
9 LIB=$SHIB_HOME/WEB-INF/lib
10 CP=$LIB/../classes:$LIB/log4j-1.2.5.jar:$LIB/opensaml.jar:$LIB/xalan-2.4.1.jar:$LIB/dom3-xercesImpl-2.4.0.jar:$LIB/dom3-xml-apis-2.4.0.jar:$LIB/xmlsec-1.0.5.jar
11
12 if [ -n JAVA_HOME ]
13         then
14                 $JAVA_HOME/bin/java -Djava.endorsed.dirs="$LIB" -Dlog.config=$LOG_CONFIG -cp $CP edu.internet2.middleware.shibboleth.common.SiteSigner -o $SHIB_HOME/sites.xml $@ $SHIB_HOME/sites_unsigned.xml
15                 $JAVA_HOME/bin/java -Djava.endorsed.dirs="$LIB" -Dlog.config=$LOG_CONFIG -cp $CP edu.internet2.middleware.shibboleth.common.SiteSigner -o $SHIB_HOME/trust.xml $@ $SHIB_HOME/trust_unsigned.xml
16         else
17                 echo "JAVA_HOME not set."
18 fi