********
*
*$PATH_TO_CONFIG$ muss durch den eigentlichen Pfad ersetzt werden!
*
******


##General MOA-ID 3.0 Configuration

##For Testing
configuration.validation.certificate.QC.ignore=false
protocols.pvp2.assertion.encryption.active=false
protocols.pvp2.schemavalidation=true

##General MOA-ID 2.0 operations
#MOA-ID 2.0 session information encryption key (PassPhrase)
configuration.moasession.key=SessionEncryptionKey
configuration.moaconfig.key=ConfigurationEncryptionKey

#MOA-ID 2.0 Monitoring Servlet
configuration.monitoring.active=false
configuration.monitoring.message.success=All Tests passed!
configuration.monitoring.test.identitylink.url=$PATH_TO_CONFIG$/conf/moa-id/monitoring/monitoring_idl.xml

#MOA-ID 2.0 Advanced Logging
configuration.advancedlogging.active=false

##Webservice Client Configuration
#MOA-SP webservice
#service.moasp.acceptedServerCertificates=
#service.moasp.clientKeyStore=
#service.moasp.clientKeyStorePassword=

#Online mandates webservice (MIS)
service.onlinemandates.acceptedServerCertificates=
service.onlinemandates.clientKeyStore=keys/....
service.onlinemandates.clientKeyStorePassword=

#Foreign Identities (SZRGW)
service.foreignidentities.acceptedServerCertificates=
service.foreignidentities.clientKeyStore=keys/....
service.foreignidentities.clientKeyStorePassword=

##STORK 2
stork.fakeIdL.active=false
stork.fakeIdL.countries=
stork.fakeIdL.keygroup=
stork.documentservice.url=


## eIDAS protocol configuration
moa.id.protocols.eIDAS.samlengine.config.file=eIDAS/SamlEngine_basics.xml
moa.id.protocols.eIDAS.samlengine.sign.config.file=eIDAS/SignModule.xml
moa.id.protocols.eIDAS.samlengine.enc.config.file=eIDAS/EncryptModule.xml
moa.id.protocols.eIDAS.metadata.validation.truststore=eIDAS_metadata

##Protocol configuration##
#PVP2
protocols.pvp2.idp.ks.file=file:$PATH_TO_CONFIG$/conf/moa-id/keys/moa_idp[password].p12
protocols.pvp2.idp.ks.kspassword=password
protocols.pvp2.idp.ks.metadata.alias=pvp_metadata
protocols.pvp2.idp.ks.metadata.keypassword=password
protocols.pvp2.idp.ks.assertion.sign.alias=pvp_assertion
protocols.pvp2.idp.ks.assertion.sign.keypassword=password
protocols.pvp2.idp.ks.assertion.encryption.alias=pvp_assertion
protocols.pvp2.idp.ks.assertion.encryption.keypassword=password

#OpenID connect (OAuth)
protocols.oauth20.jwt.ks.file=file:$PATH_TO_CONFIG$/conf/moa-id/keys/moa_idp[password].p12
protocols.oauth20.jwt.ks.password=password
protocols.oauth20.jwt.ks.key.name=oauth
protocols.oauth20.jwt.ks.key.password=password

##Database configuration##
#Hibnerate configuration for MOA-ID 2.0 session store 
moasession.hibernate.dialect=org.hibernate.dialect.MySQLDialect
moasession.hibernate.connection.url=jdbc:mysql://localhost/moa-id-session?charSet=utf-8
moasession.hibernate.connection.charSet=utf-8
moasession.hibernate.connection.driver_class=com.mysql.jdbc.Driver
moasession.hibernate.connection.username=
moasession.hibernate.connection.password=

moasession.hibernate.hbm2ddl.auto=update
moasession.hibernate.current_session_context_class=thread
moasession.hibernate.transaction.flush_before_completion=true
moasession.hibernate.transaction.auto_close_session=true
moasession.hibernate.show_sql=false
moasession.hibernate.format_sql=true
moasession.hibernate.c3p0.acquire_increment=3
moasession.hibernate.c3p0.idle_test_period=60
moasession.hibernate.c3p0.timeout=60
moasession.hibernate.c3p0.max_size=20
moasession.hibernate.c3p0.max_statements=0
moasession.hibernate.c3p0.min_size=3

#Hibnerate configuration for MOA-ID 2.0 configuration
configuration.hibernate.dialect=org.hibernate.dialect.MySQLDialect
configuration.jpaVendorAdapter.generateDdl=true
configuration.hibernate.show_sql=false

configuration.hibernate.connection.url=jdbc:mysql://localhost/moa-id-config?charSet=utf-8&autoReconnect=true
configuration.hibernate.connection.charSet=utf-8
configuration.hibernate.connection.driver_class=com.mysql.jdbc.Driver
configuration.hibernate.connection.username=
configuration.hibernate.connection.password=
configuration.dbcp.connectionProperties=

configuration.dbcp.initialSize=0
configuration.dbcp.maxActive=8
configuration.dbcp.maxIdle=8
configuration.dbcp.minIdle=0
configuration.dbcp.maxWaitMillis=-1
configuration.dbcp.testOnBorrow=true
configuration.dbcp.testOnReturn=false
configuration.dbcp.testWhileIdle=false
configuration.dbcp.validationQuery=SELECT 1

#
#Hibnerate configuration for MOA-ID 2.0 advanced statistic logging
advancedlogging.hibernate.dialect=org.hibernate.dialect.MySQLDialect
advancedlogging.hibernate.connection.url=jdbc:mysql://localhost/moa-id-statistic?charSet=utf-8&autoReconnect=true
advancedlogging.hibernate.connection.charSet=utf-8
advancedlogging.hibernate.connection.driver_class=com.mysql.jdbc.Driver
advancedlogging.hibernate.connection.username=
advancedlogging.hibernate.connection.password=

advancedlogging.hibernate.hbm2ddl.auto=update
advancedlogging.hibernate.current_session_context_class=thread
advancedlogging.hibernate.transaction.auto_close_session=true
advancedlogging.hibernate.show_sql=false
advancedlogging.hibernate.format_sql=true
advancedlogging.hibernate.connection.provider_class=org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider
advancedlogging.hibernate.c3p0.acquire_increment=3
advancedlogging.hibernate.c3p0.idle_test_period=60
advancedlogging.hibernate.c3p0.timeout=300
advancedlogging.hibernate.c3p0.max_size=20
advancedlogging.hibernate.c3p0.max_statements=0
advancedlogging.hibernate.c3p0.min_size=3


################SZR Client configuration####################################
##  The SZR client is only required if MOA-ID-Auth should be 
##  use as STORK <-> PVP Gateway. 
########
service.egovutil.szr.test=true
service.egovutil.szr.test.url=https://pvawp.bmi.gv.at/bmi.gv.at/soap/SZ2Services-T/services/SZR
service.egovutil.szr.prod.url=https://pvawp.bmi.gv.at/bmi.gv.at/soap/SZ2Services/services/SZR
service.egovutil.szr.token.version=1.8
service.egovutil.szr.token.participantid=
service.egovutil.szr.token.gvoudomain=
service.egovutil.szr.token.userid=
service.egovutil.szr.token.cn=
service.egovutil.szr.token.gvouid=
service.egovutil.szr.token.ou=
service.egovutil.szr.token.gvsecclass=
service.egovutil.szr.token.gvfunction=
service.egovutil.szr.token.gvgid=
service.egovutil.szr.roles=
service.egovutil.szr.ssl.keystore.file=
service.egovutil.szr.ssl.keystore.password=
service.egovutil.szr.ssl.keystore.type=
service.egovutil.szr.ssl.truststore.file=
service.egovutil.szr.ssl.truststore.password=
service.egovutil.szr.ssl.truststore.type=
service.egovutil.szr.ssl.trustall=false
service.egovutil.szr.ssl.laxhostnameverification=false