Skip to end of metadata
Go to start of metadata

Introduction

This page describes the Yona-specific properties in application.properties, along with their production values. If no value is mentioned, the property can be left to its default value.

Properties

Property

Production value

Description

yona.defaultLocale

 

 The default locale for Yona, when the user request doesn't carry a locale. Example: en-US

yona.supportedLocales

 

The set of supported locales. Example: en-US,nl-NL

yona.appleAppId

 

The ID of the Yona iOS app. Example: SFWNSYN8YK.com.xaton.yona

yona.maxUsers

100

The maximum number of allowed users. Users subscribing after the limit is reached will get an error message. This is meant to support controlled growth.

yona.whiteListActiveFreeSignUp

true

Boolean indicating whether users that sign-up without an explicit invitation need to be on the white list

yona.whiteListActiveInvitedUsers

false

Boolean indicating whether new users that are invited as buddy need to be in the white list

yona.security.confirmationCodeDigits

 

The number of digits in the confirmation code.

yona.security.confirmationMaxAttempts

 

The number of attempts that a user can do to validate a confirmation code.

yona.security.newDeviceRequestExpirationTime

 

The period of time after which a new device request expires. See this link for sample time periods.

yona.security.pinResetRequestExpirationTime

 

The period of time after which a PIN reset request expires. See this link for sample time periods.

yona.security.pinResetRequestConfirmationCodeDelay

PT4H

The period of time after which the confirmation code for a PIN reset is sent. See this link for sample time periods.

yona.security.passwordLength

 

The length of the random passwords generated for the VPN and for temp passwords for buddy invitations

yona.security.dosProtectionEnabled

true

Boolean indicating whether Denial of Service (DoS) protection should be enabled. If it is enabled, an IP address can do at most X requests for certain actions in the configured time window. See the properties yona.security.dosProtectionWindow and yona.security.max...PerTimeWindow for further details. Example: if DoS protection is enabled, with a window of 5 minutes (PT5M) and a maximum of 2 "create user" attempts, then an IP address can send at most two create user requests per 5 minutes.

yona.security.dosProtectionWindow

PT5M

The period of time in which DoS attempts are checked. See this link for sample time periods.

yona.security.maxCreateUserAttemptsPerTimeWindow

5

The number of times an IP address can send a "create user" attempt in the DoS window.

yona.security.maxUpdateUserAttemptsPerTimeWindow

5

The number of times an IP address can send a "update user" attempt in the DoS window.

yona.security.corsAllowed

 

Boolean indicated whether Cross-origin resource sharing (CORS) is allowed.

yona.security.sslRootCertFile

 

The file path of the file containing the root certificate for SSL interception

yona.security.ovpnProfileFile

 

The file path of the file containing the Open VPN profile

yona.security.appProvidedPasswordEnabled

false

Boolean indicating whether the old method of app-provided passwords is still enabled.

yona.appleMobileConfig.signingEnabledtrueBoolean indicating whether signing of the Apple mobile config is enabled

yona.appleMobileConfig.appleMobileConfigFile

<env.specific>

The file path of the file containing the Apple mobile config

yona.appleMobileConfig.signingKeyStoreFile

<env.specific>

The file path of the file containing the key store for signing the Apple mobile config

yona.appleMobileConfig.signingKeyStorePassword

<env.specific>

The password of the key store for signing the Apple mobile config

yona.appleMobileConfig.signingAlias

<env.specific>

The alias to be looked up in the key store for signing the Apple mobile config

yona.analysisservice.conflictInterval

 

The period of time that needs to pass by quietly to consider new network activities to be the start of a new activity period. See this link for sample time periods. If this is set to 15 minutes (PT15M) and a user ceases network activities for a period of 15 minutes, then the previous activity is considered ended and a new one is started upon the first activity.

yona.analysisservice.updateSkipWindow

PT1M

The period of time after in which new network activities are not recorded. See this link for sample time periods. If this is set to 1 minute (PT1M), then user activities will be recorded to the database at most every minute. Activities within the interval are quietly discarded.

yona.analysisservice.activityMemory

 

The period of time a user can page back through their activity reports. See this link for sample time periods. If this is set to 490 days (P490D), then the user can page back through their activity overviews at most 70 weeks.

yona.email.enabled

true

Boolean indicating that e-mail is enabled. E-mails are sent when new users are invited as buddies.

yona.email.senderAddress

 

The sender address of the e-mails sent

yona.email.smtp.protocol

 

The protocol to be used. Must be smtp for now.

yona.email.smtp.host

<env.specific>

The host name of the e-mail server

yona.email.smtp.port

<env.specific>

The port of the e-mail server

yona.email.smtp.enableAuth

<env.specific>

Boolean indicating whether authentication is enabled.

yona.email.smtp.enableStartTls

<env.specific>

Boolean indicating whether STARTTLS is enabled.

yona.email.smtp.username

<env.specific>

The user name to be used on the e-mail server

yona.email.smtp.password

<env.specific>

The password to be used on the e-mail server

yona.email.includedMediaBaseUrl

 

The base URL of the media included in the e-mail. Example: https://beta.prd.yona.nu/media/

yona.email.appleAppStoreUrl

 

The URL of the Yona app in the Apple app store

yona.email.googlePlayStoreUrl

 

The URL of the Yona app in the Google app store

yona.ldap.enabled

true

Boolean indicating whether LDAP is enabled. If this is enabled, Yona will create an LDAP account for every subscribing user, to authenticate for the VPN.

yona.ldap.url

<env.specific>

The URL of the LDAP server

yona.ldap.baseDn

<env.specific>

The base DN in the LDAP server

yona.ldap.accessUserDn

<env.specific>

The user DN of the user that the Yona server uses to access LDAP

yona.ldap.accessUserPassword

<env.specific>

The password that the Yona server uses to access LDAP

yona.sms.enabled

true

Boolean indicating whether SMS is enabled. SMS messages are sent for confirmation codes and when new users are invited as buddies.

yona.sms.senderNumber

 

The number or name used as sender of the SMS messages

yona.sms.plivoUrl

 

The URL of the Plivo SMS service

yona.sms.plivoAuthId

<env.specific>

The authentication ID of the Plivo SMS service

yona.sms.plivoAuthToken

<env.specific>

The authentication token of the Plivo SMS service

  • No labels