diff options
author | tlenz <thomas.lenz@egiz.gv.at> | 2017-06-27 10:38:31 +0200 |
---|---|---|
committer | tlenz <thomas.lenz@egiz.gv.at> | 2017-06-27 10:38:31 +0200 |
commit | d69e3b6fb1dec68c0142eda193d1302f5a1ea383 (patch) | |
tree | faa7d6422210f3320503ddf3d3b24152e049e80c /release-infos/handbook/clients/webservice/conf | |
parent | 997b70350b176d8e01ede2653785346555b6aca0 (diff) | |
parent | 25f28669519773054184d6695114f38c5da4e177 (diff) | |
download | moa-sig-d69e3b6fb1dec68c0142eda193d1302f5a1ea383.tar.gz moa-sig-d69e3b6fb1dec68c0142eda193d1302f5a1ea383.tar.bz2 moa-sig-d69e3b6fb1dec68c0142eda193d1302f5a1ea383.zip |
lokal merge
Merge branch 'nightlybuild' of https://gitlab.iaik.tugraz.at/egiz/moa-sig into nightlybuild
Diffstat (limited to 'release-infos/handbook/clients/webservice/conf')
-rw-r--r-- | release-infos/handbook/clients/webservice/conf/http.properties | 78 | ||||
-rw-r--r-- | release-infos/handbook/clients/webservice/conf/log4j.properties | 25 |
2 files changed, 103 insertions, 0 deletions
diff --git a/release-infos/handbook/clients/webservice/conf/http.properties b/release-infos/handbook/clients/webservice/conf/http.properties new file mode 100644 index 0000000..8bf490a --- /dev/null +++ b/release-infos/handbook/clients/webservice/conf/http.properties @@ -0,0 +1,78 @@ +### +# Properties für den HTTP(S) Client +### + +# +# Signieren +# + +# Name des Webservices, fix "SignatureCreation" +signServiceQName = SignatureCreation + +# Zugangspunkt des Webservices +signServiceEndPoint = http://localhost:8080/moa-spss/services/SignatureCreation +#signServiceEndPoint = https://localhost:8443/moa-spss/services/SignatureCreation + +# Name des zu sendenden Signaturerstellungsrequests (entweder absolute +# oder relative Pfadangabe; eine relative Pfadangabe wird relativ zum +# Arbeitsverzeichnis der Java VM interpretiert) +signRequest = resources/requests/CreateXMLSignatureRequest.Simple.xml +#signRequest=resources/requests/CreateXMLSignatureRequest.Refs.xml +#signRequest=resources/requests/CreateXMLSignatureRequest.Transforms.xml +#signRequest=resources/requests/CreateXMLSignatureRequest.Supplements.xml + + +# +# Verifizieren +# + +# Name des Webservices, fix "SignatureVerification" +verifyServiceQName = SignatureVerification + +# Zugangspunkt des Webservices +verifyServiceEndPoint = http://localhost:18080/moa-spss/services/SignatureVerification +#verifyServiceEndPoint = https://localhost:8443/moa-spss/services/SignatureVerification + +# Name des zu sendenden Signaturprüfrequests (entweder absolute +# oder relative Pfadangabe; eine relative Pfadangabe wird relativ zum +# Arbeitsverzeichnis der Java VM interpretiert) +verifyRequest=resources/requests/VerifyCMSSignatureRequest.Simple.xml +#verifyRequest=resources/requests/VerifyCMSSignatureRequest.Extended.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.Simple.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.Enveloped.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.Supplements.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.SigManifest.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.XMLDSigManifest.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.FileURIs.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.FileURIs.DataObject.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.FileURIs.Supplements.xml +#verifyRequest=resources/requests/VerifyXMLSignatureRequest.FileURIs.ServerSupplements.xml + +# +# JSSE-Konfiguration +# + +# Typ des JSSE-Truststores (entweder "JKS" für einen Java Key Store oder +# "PKCS12" für eine PKCS#12-Datei). +ssl.truststore.type = JKS + +# Relativer oder absoluter Pfad zum JSSE-Truststore. Ein relativer Pfad +# wird relativ zum Arbeitsverzeichnis der Java VM interpretiert). +ssl.truststore.loc = resources/sslKeys/customer1/trustedServers[pwd=servers].keystore +#ssl.truststore.loc = resources/sslKeys/customer2/trustedServers[pwd=servers].keystore + +# Passwort für den JSSE-Truststore. +ssl.truststore.pwd = servers + +# Typ des JSSE-Keystores (entweder "JKS" für einen Java Key Store oder +# "PKCS12" für eine PKCS#12-Datei). +ssl.keystore.type = PKCS12 + +# Relativer oder absoluter Pfad zum JSSE-Keystore. Ein relativer Pfad +# wird relativ zum Arbeitsverzeichnis der Java VM interpretiert). +ssl.keystore.loc = resources/sslKeys/customer1/moa-ssl-kunde1[pwd=kunde1].p12 +#ssl.keystore.loc = resources/sslKeys/customer2/moa-ssl-kunde2[pwd=kunde2].p12 + +# Passwort für den JSSE-Keystore. +ssl.keystore.pwd = kunde1 +#ssl.keystore.pwd = kunde2 diff --git a/release-infos/handbook/clients/webservice/conf/log4j.properties b/release-infos/handbook/clients/webservice/conf/log4j.properties new file mode 100644 index 0000000..346cc59 --- /dev/null +++ b/release-infos/handbook/clients/webservice/conf/log4j.properties @@ -0,0 +1,25 @@ +# commons-logging setup +org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory + +# define log4j root loggers +log4j.rootLogger=info, stdout +#log4j.rootLogger=info, stdout, R +#log4j.logger.moa=info +#log4j.logger.moa.spss.server=debug +#log4j.logger.iaik.server=info +#log4j.logger.moa.id.auth=debug +#log4j.logger.moa.id.proxy=debug + +# configure the stdout appender +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20.20c | %10t | %m%n + +# configure the rolling file appender (R) +log4j.appender.R=org.apache.log4j.RollingFileAppender +log4j.appender.R.File=${catalina.base}/logs/moa-id.log +log4j.appender.R.MaxFileSize=10000KB +log4j.appender.R.MaxBackupIndex=1 +log4j.appender.R.layout=org.apache.log4j.PatternLayout +log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n + |