From 6fb37e4ca32c11f489bc5cd0f1b9a36eadec08ff Mon Sep 17 00:00:00 2001 From: rudolf Date: Fri, 19 Dec 2003 08:01:39 +0000 Subject: MOA-ID 1.1.1D01 git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@78 d688527b-c9ab-4aba-bd8d-4036d912da1d --- id.server/data/abnahme-test/conf/log4j.properties | 2 +- .../conf/moa-id/SampleMOAIDConfiguration.xml | 78 +++++++++++---------- .../conf/moa-spss/SampleMOASPSSConfiguration.xml | 28 +++++--- .../A-Trust-Qual-01-SN0291.cer | Bin 0 -> 1110 bytes .../A-Trust-nQual-01-SN0213.cer | Bin 0 -> 864 bytes .../A-Trust-nQual-01-SN0218.cer | Bin 0 -> 861 bytes .../A-Trust-nQual-01-SN6f.cer | Bin 0 -> 860 bytes .../A-Trust-Qual-01-SN0291.cer | Bin 0 -> 1110 bytes .../A-Trust-nQual-01-SN0213.cer | Bin 0 -> 864 bytes .../A-Trust-nQual-01-SN0218.cer | Bin 0 -> 861 bytes .../A-Trust-nQual-01-SN6f.cer | Bin 0 -> 860 bytes .../A-Trust-Qual-01-SN0291.cer | Bin 1110 -> 0 bytes .../A-Trust-nQual-01-SN0213.cer | Bin 864 -> 0 bytes .../A-Trust-nQual-01-SN0218.cer | Bin 861 -> 0 bytes .../A-Trust-nQual-01-SN6f.cer | Bin 860 -> 0 bytes .../tomcat-util-4.1.27-patched/tomcat-util.jar | Bin 0 -> 178544 bytes id.server/data/deploy/tomcat/unix/moa-id-env.sh | 15 ++++ .../data/deploy/tomcat/uriworkermap.properties | 6 +- id.server/data/deploy/tomcat/win32/startTomcat.bat | 26 +++++++ id.server/data/deploy/tomcat/win32/stopTomcat.bat | 13 ++++ 20 files changed, 117 insertions(+), 51 deletions(-) create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-Qual-01-SN0291.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0213.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0218.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN6f.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-Qual-01-SN0291.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0213.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0218.cer create mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN6f.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer create mode 100644 id.server/data/deploy/tomcat/tomcat-util-4.1.27-patched/tomcat-util.jar create mode 100644 id.server/data/deploy/tomcat/unix/moa-id-env.sh create mode 100644 id.server/data/deploy/tomcat/win32/startTomcat.bat create mode 100644 id.server/data/deploy/tomcat/win32/stopTomcat.bat (limited to 'id.server/data') diff --git a/id.server/data/abnahme-test/conf/log4j.properties b/id.server/data/abnahme-test/conf/log4j.properties index 86aa9c994..6c9396a1f 100644 --- a/id.server/data/abnahme-test/conf/log4j.properties +++ b/id.server/data/abnahme-test/conf/log4j.properties @@ -36,6 +36,6 @@ log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n # create table spss_log (log_time timestamp, log_level varchar(5), log_msg varchar(256)) log4j.appender.JDBC=org.apache.log4j.jdbc.JDBCAppender log4j.appender.JDBC.driver=org.postgresql.Driver -log4j.appender.JDBC.URL=jdbc:postgresql://10.16.46.108/moa?user=moa&password=moatest +log4j.appender.JDBC.URL=jdbc:postgresql:///moa?user=moa&password=moatest log4j.appender.JDBC.layout=org.apache.log4j.PatternLayout log4j.appender.JDBC.sql=INSERT INTO spss_log (log_time, log_level, log_msg) VALUES ('%d{ yyyy-MM-dd HH:mm:ss.SSS}', '%5p', '%m') \ No newline at end of file diff --git a/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml b/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml index ec6203326..fa5fa5d4e 100644 --- a/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml +++ b/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml @@ -1,81 +1,83 @@ - + - + - + - + - - - - - - + + + + + - MOAIDBuergerkarteRoot + MOAIDBuergerkartePersonenbindung - - MOAIDBuergerkarteRoot - + + MOAIDBuergerkarteAuthentisierungsDaten + MOAIDTransformAuthBlock - + CN=zmr,OU=BMI-IV-2,O=BMI,C=AT - + - - + + - - - + + + - - - + + + - - + + - + CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT 536 - - - file:conf/moa-id/certs/ca-certs - - - + + + certs/ca-certs + + + + - + + + + + diff --git a/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml b/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml index 900f41252..dbf506353 100644 --- a/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml +++ b/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml @@ -1,14 +1,22 @@ - - + + - + - - - - - + + + + + + + \ No newline at end of file diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-Qual-01-SN0291.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-Qual-01-SN0291.cer new file mode 100644 index 000000000..f9f27442b Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-Qual-01-SN0291.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0213.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0213.cer new file mode 100644 index 000000000..289fc2198 Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0213.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0218.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0218.cer new file mode 100644 index 000000000..69de75609 Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN0218.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN6f.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN6f.cer new file mode 100644 index 000000000..b7d4b08a6 Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteAuthentisierungsDaten/A-Trust-nQual-01-SN6f.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-Qual-01-SN0291.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-Qual-01-SN0291.cer new file mode 100644 index 000000000..f9f27442b Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-Qual-01-SN0291.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0213.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0213.cer new file mode 100644 index 000000000..289fc2198 Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0213.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0218.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0218.cer new file mode 100644 index 000000000..69de75609 Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN0218.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN6f.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN6f.cer new file mode 100644 index 000000000..b7d4b08a6 Binary files /dev/null and b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkartePersonenbindung/A-Trust-nQual-01-SN6f.cer differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer deleted file mode 100644 index f9f27442b..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer deleted file mode 100644 index 289fc2198..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer deleted file mode 100644 index 69de75609..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer deleted file mode 100644 index b7d4b08a6..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer and /dev/null differ diff --git a/id.server/data/deploy/tomcat/tomcat-util-4.1.27-patched/tomcat-util.jar b/id.server/data/deploy/tomcat/tomcat-util-4.1.27-patched/tomcat-util.jar new file mode 100644 index 000000000..62c7645b9 Binary files /dev/null and b/id.server/data/deploy/tomcat/tomcat-util-4.1.27-patched/tomcat-util.jar differ diff --git a/id.server/data/deploy/tomcat/unix/moa-id-env.sh b/id.server/data/deploy/tomcat/unix/moa-id-env.sh new file mode 100644 index 000000000..a187806de --- /dev/null +++ b/id.server/data/deploy/tomcat/unix/moa-id-env.sh @@ -0,0 +1,15 @@ +rem insert Tomcat 4.1.x home directory (no trailing path separator) +set CATALINA_HOME= + +CONFIG_OPT_SPSS=-Dmoa.spss.server.configuration=$CATALINA_HOME/conf/moa-spss/SampleMOASPSSConfiguration.xml +CONFIG_OPT_ID=-Dmoa.id.configuration=$CATALINA_HOME/conf/moa-id/SampleMOAIDConfiguration.xml + + +LOGGING_OPT=-Dlog4j.configuration=file:$CATALINA_HOME/conf/moa-id/log4j.properties +# TRUST_STORE_OPT=-Djavax.net.ssl.trustStore=truststore.jks +# TRUST_STORE_PASS_OPT=-Djavax.net.ssl.trustStorePassword=changeit +# TRUST_STORE_TYPE_OPT=-Djavax.net.ssl.trustStoreType=jks + +export CATALINA_OPTS="$CONFIG_OPT_SPSS $CONFIG_OPT_ID $LOGGING_OPT $TRUST_STORE_OPT $TRUST_STORE_PASS_OPT $TRUST_STORE_TYPE_OPT" +echo CATALINA_OPTS=$CATALINA_OPTS + diff --git a/id.server/data/deploy/tomcat/uriworkermap.properties b/id.server/data/deploy/tomcat/uriworkermap.properties index daf0dca1a..32b4c1f50 100644 --- a/id.server/data/deploy/tomcat/uriworkermap.properties +++ b/id.server/data/deploy/tomcat/uriworkermap.properties @@ -3,5 +3,7 @@ # # omit the mappings you don't need -/moa-id-auth/*=moaworker -/moa-id-proxy/*=moaworker \ No newline at end of file +#/moa-id-auth/*=moaworker + +#forward all requests to tomcat (e.g.) +/*=moaworker \ No newline at end of file diff --git a/id.server/data/deploy/tomcat/win32/startTomcat.bat b/id.server/data/deploy/tomcat/win32/startTomcat.bat new file mode 100644 index 000000000..f6ebc3613 --- /dev/null +++ b/id.server/data/deploy/tomcat/win32/startTomcat.bat @@ -0,0 +1,26 @@ +rem ---------------------------------------------------------------------------------------------- +rem Modify these entries according to your needs + +rem JDK home directory (no trailing path separator) +set JAVA_HOME= + +rem Tomcat 4.1.x home directory (no trailing path separator) +set CATALINA_HOME= + +rem ---------------------------------------------------------------------------------------------- + +set CONFIG_OPT_SPSS=-Dmoa.spss.server.configuration=%CATALINA_HOME%/conf/moa-spss/SampleMOASPSSConfiguration.xml +set CONFIG_OPT_ID=-Dmoa.id.configuration=%CATALINA_HOME%/conf/moa-id/SampleMOAIDConfiguration.xml +set LOGGING_OPT=-Dlog4j.configuration=file:%CATALINA_HOME%/conf/moa-id/log4j.properties + +set PARAMS_MOA=%CONFIG_OPT_SPSS% %CONFIG_OPT_ID% %LOGGING_OPT% + +rem set PARAM_TRUST_STORE=-Djavax.net.ssl.trustStore=truststore.jks +rem set PARAM_TRUST_STORE_PASS=-Djavax.net.ssl.trustStorePassword=changeit +rem set PARAM_TRUST_STORE_TYPE=-Djavax.net.ssl.trustStoreType=jks +rem set PARAMS_SSL=%PARAM_TRUST_STORE% %PARAM_TRUST_STORE_PASS% %PARAM_TRUST_STORE_TYPE% + +set CATALINA_OPTS=%PARAMS_MOA% %PARAMS_SSL% + +cd %CATALINA_HOME% +bin\catalina.bat start \ No newline at end of file diff --git a/id.server/data/deploy/tomcat/win32/stopTomcat.bat b/id.server/data/deploy/tomcat/win32/stopTomcat.bat new file mode 100644 index 000000000..09dd83f2d --- /dev/null +++ b/id.server/data/deploy/tomcat/win32/stopTomcat.bat @@ -0,0 +1,13 @@ +rem ---------------------------------------------------------------------------------------------- +rem Modify these entries according to your needs + +rem JDK home directory (no trailing path separator) +set JAVA_HOME= + +rem Tomcat 4.1.x home directory (no trailing path separator) +set CATALINA_HOME= + +rem ---------------------------------------------------------------------------------------------- + +cd %CATALINA_HOME% +bin\catalina.bat stop \ No newline at end of file -- cgit v1.2.3