<commit_before>[ENV : base]
; Environment ENV extends from base (application.ini)
; IMPORTANT: set 'ENV' to a meaningful name for your environment
; suggestions: production, staging, testing or dev

; Timezone to use, for a list of supported timezones, please go to:
; http://www.php.net/manual/en/timezones.php
phpSettings.date.timezone = "Europe/Amsterdam"

; File based logging (required, make sure the file exists and is writable for Apache)
error.reports.log = true;
logs.file.writerName = "Stream"
logs.file.writerParams.stream = "/var/log/surfconext/engineblock.log"

; Receive an e-mail for every error
;logs.mail.writerName = "Mail"
;logs.mail.writerNamespace = "EngineBlock_Log_Writer"
;logs.mail.filterName = "Priority"
;logs.mail.filterParams.priority = 3 ; Errors
;logs.mail.writerParams.from.email = "<EMAIL>"
;logs.mail.writerParams.from.name  = "SURFconext EngineBlock"
;logs.mail.writerParams.to.0.name  = "Sysadmin"
;logs.mail.writerParams.to.0.email = "<EMAIL>"
;logs.mail.writerParams.cc.0.name  = "Developer"
;logs.mail.writerParams.cc.0.email = "<EMAIL>"
; Valid transports: Smtp, Pop3, Imap
;logs.mail.writerParams.transportName = "Smtp"
;logs.mail.writerParams.transportParams.host = "localhost"
;logs.mail.writerParams.transportParams.port = 25
;logs.mail.writerParams.transportParams.ssl = "SSL" ; Also supported: "TLS"
; SMTP authentication, supported: Login, Crammd5, Plain
;logs.mail.writerParams.transportParams.auth = "Login"
;logs.mail.writerParams.transportParams.username = ""
;logs.mail.writerParams.transportParams.password = ""
; Filter the following values from the (unsecured) mail
; Note that this is done with a simple search and replace,
; so better make sure the values are unique enough!
;logs.mail.writerParams.filterValues[] = "encryption.key.private"
;logs.mail.writerParams.filterValues[] = "ldap.password"
;logs.mail.writerParams.filterValues[] = "database.master1.password"
;logs.mail.writerParams.filterValues[] = "database.slave1.password"
;logs.mail.writerParams.filterValues[] = "serviceRegistry.user_secret"

; Configuration for the LDAP to use for user provisioning and as datastore for the OpenSocial API.
ldap.host               = ""
ldap.userName           = "cn=engine,dc=surfconext,dc=nl"
ldap.password           = ""
ldap.accountDomainName  = "surfconext.nl"
ldap.baseDn             = "dc=surfconext,dc=nl"

; Memcache configuration, for general caching use.
;memcache.locahost.host            = "localhost"
;memcache.localhost.port           = 11211
;memcache.localhost.persistent     = true
;memcache.localhost.weight         = 0
;memcache.localhost.timeout        = 1
;memcache.localhost.retry_interval = 15
memcache.servers[] = "localhost"

; Details for the Service Registry (datastore for all SPs and IdPs)
serviceRegistry.location    = "https://serviceregistry.example.com/simplesaml/module.php/janus/services/rest/"
serviceRegistry.user        = "engine"
serviceRegistry.user_secret = "ksD76Fh2Sj3e3"

; Credentials for the database to use
database.master1.dsn      = "mysql:host=localhost;dbname=engineblock"
database.master1.user     = ""
database.master1.password = ""
database.masters[]  = "master1"
database.slaves[]   = "master1"

; Log filtering
logs.mail.writerParams.filterValues[] = "encryption.key.private"
logs.mail.writerParams.filterValues[] = "ldap.password"
logs.mail.writerParams.filterValues[] = "serviceRegistry.user_secret"
logs.mail.writerParams.filterValues[] = "database.master1.password"
logs.mail.writerParams.filterValues[] = "grouper.password"
logs.mail.writerParams.filterValues[] = "hz.auth.consumerSecret"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;; SIMPLESAML SETTINGS ;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; The configuration entries below are for protecting the profile interfaces using SimpleSamlphp

; EntityID for the IdentityProvider
auth.simplesamlphp.idp.entityId   = ""

; SingleSignOnLocation to use
auth.simplesamlphp.idp.location   = ""

; SAML2 binding to use
auth.simplesamlphp.idp.binding    = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"

; PEM encoded public key / certificate for Identity Provider
auth.simplesamlphp.idp.cert       = ""

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;; MISCELLANEOUS SETTINGS ;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Static URI settings
static.protocol     = "https"
static.host         = "static.dev.surfconext.nl"

; Language Cookie settings
cookie.lang.domain = "dev.surfconext.nl"
; Cookie expiry time, specify the time in seconds, set empty to let the cooky get expired after the session
cookie.lang.expiry = "60*60*24*60"<commit_msg>Refactor: updated the example configuration file<commit_after>api.vovalidate.baseUrl = "api.demo.openconext.org"
api.vovalidate.key = "EXAMPLE KEY"
api.vovalidate.secret = "EXAMPLE SECRET"

auth.simplesamlphp.idp.entityId = https://engine.demo.openconext.org/authentication/idp/metadata
auth.simplesamlphp.idp.location = https://engine.demo.openconext.org/authentication/idp/single-sign-on

cookie.lang.domain = .demo.openconext.org

database.master1.dsn = "mysql:host=db.demo.opnenconext.org;dbname=engineblock"
database.master1.password = "<PASSWORD>"
database.master1.user = "engineblock"
database.masters[] = master1
database.slaves[] = master1

debug = true

email.idpDebugging.to.address = <EMAIL>

ldap.host = ldap.demo.openconext.org
ldap.userName = "cn=engine,dc=openconext,dc=nl"
ldap.password = "<PASSWORD>"

phpSettings.display_errors = true
; Timezone to use, for a list of supported timezones, please go to:
; http://www.php.net/manual/en/timezones.php
phpSettings.date.timezone = "Europe/Amsterdam"

; Cache for an hour
serviceRegistry.caching.lifetime = 3600
serviceRegistry.location = https://serviceregistry.demo.openconext.org/simplesaml/module.php/janus/services/rest/
serviceRegistry.user = "engineblock"
serviceRegistry.user_secret = "EXAMPLE JANUS PASSWORD"
{'fraction_non_alphanumeric': 0.15627095908786048, 'fraction_numerical': 0.008551307847082495, 'mean_word_length': 5.149484536082475, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5143680', 'n_tokens_mistral': 2017, 'n_tokens_neox': 1913, 'n_words': 382}