Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Environment variable JAVA_HOME has been removed from /etc/sysconfig/oneportal and added directly to systemd unit file. Usually there is no need to change its value and this modification makes upgrades easier even if sysconfig file has been locally modified. If you have this variable in sysconfig file, recommendation is to remove it. Use trivore-jetty version 4.4 or later to ensure that JAVA_HOME works as expected.

Bugs fixed

ONEP-2312 User was left signed in after using Change Password pages

...

Property

Description

Default value

mongo.addr

Primary MongoDB database URI. Full MongoDB URI recommended. Legacy <host>:<port> still supported for backwards compatibility. Uses replica set oneportal by default when legacy mode is used. Use full URI without replica set parameter if connecting to single node MongoDB which does not have replica set defined.

mongodb://localhost:28017/?replicaSet=oneportal

mongo.dbname

Primary database name. Defaults to oneportal.

oneportal

mongo.dbname.aux

Auxiliary database name. Deprecated in favour of mongo.aux.dbname.

oneportal_aux

mongo.writeconcern

Primary database write concern.

ACKNOWLEDGED

mongo.readpreference

Primary database read preference.

PRIMARY_PREFERRED

mongo.timeout

MongoDB server selection timeout value in milliseconds. Applies to all databases.

30000

mongo.cluster.key

Pointer to a file which contains cluster-wide cryptographic key material. Must have same value on all server nodes in the cluster. If file does exist, this option is ignored.

/etc/oneportal/cluster_key

mongo.auth.enabled

Primary database authentication enabled/disabled. Value is either true or false.

false

mongo.auth.provider.enabled*

If true, uses legacy authentication credential computation for primary database. Value is either true or false. Legacy mechanism always uses username oneportal and password computed from salt material (see properties below). Legacy mode authentication database (source) is the same as primary database (mongo.dbname)

true

mongo.auth.salt.file

Input material for credential computation when legacy authentication mechanism is used. Must point to a file.

/var/lib/oneportal/node_salt

mongo.auth.salt.url

Input material for credential computation when legacy authentication mechanism is used. Must point to an URL.

https://keymgmt.t5.fi/.suolaa

mongo.auth.source*

Authentication database (source) when connecting to primary database. Not used when legacy authentication mode is enabled.

oneportal

mongo.auth.username*

Primary database authentication username. Not used when legacy authentication mode is enabled.

oneportal

mongo.auth.password*

Primary database authentication password. Not used when legacy authentication mode is enabled.

Undefined

mongo.aux.addr*

Auxiliary MongoDB database URI.

Undefined (defaults to mongo.addr)

mongo.aux.dbname*

Auxiliary database name.

Undefined (defaults to mongo.dbname.aux)

mongo.aux.writeconcern*

Auxiliary database write concern.

Undefined (defaults to mongo.writeconcern)

mongo.aux.readpreference*

Auxiliary database read preference.

Undefined (defaults to mongo.readpreference)

mongo.aux.auth.enabled*

Auxiliary database authentication enabled/disabled.

Undefined (defaults to mongo.auth.enabled)

mongo.aux.auth.provider.enabled*

If true, uses legacy authentication credential computation for auxiliary database. Legacy mode always uses auxiliary database itself as authentication source.

Undefined (defaults to mongo.auth.provider.enabled)

mongo.aux.auth.source*

Authentication database (source) when connecting to auxiliary database. Not used when legacy authentication mode is enabled.

Undefined (defaults to mongo.auth.source)

mongo.aux.auth.username*

Auxiliary database authentication username. Not used when legacy authentication mode is enabled.

Undefined (defaults to mongo.auth.username)

mongo.aux.auth.password*

Auxiliary database authentication password. Not used when legacy authentication mode is enabled.

Undefined (defaults to mongo.auth.password)

mongo.log.addr

Logging MongoDB database URI.

Undefined (defaults to mongo.aux.addr)

mongo.log.dbname

Logging database name.

Undefined (defaults to mongo.aux.dbname)

mongo.log.writeconcern

Logging database write concern.

W1(defaults to mongo.aux.writeconcern)

mongo.log.readpreference

Logging database read preference.

NEAREST(defaults to mongo.aux.readpreference)

mongo.log.auth.enabled

Logging database authentication enabled/disabled.

Undefined (defaults to mongo.aux.auth.enabled)

mongo.log.auth.provider.enabled*

If true, uses legacy authentication credential computation for logging database. Legacy mode always uses logging database itself as authentication source.

Undefined (defaults to mongo.aux.auth.provider.enabled)

mongo.log.auth.source*

Authentication database (source) when connecting to logging database. Not used when legacy authentication mode is enabled.

Undefined (defaults to mongo.aux.auth.source)

mongo.log.auth.username*

Logging database authentication username. Not used when legacy authentication mode is enabled.

Undefined (defaults to mongo.aux.auth.username)

mongo.log.auth.password*

Logging database authentication password. Not used when legacy authentication mode is enabled.

Undefined (defaults to mongo.aux.auth.password)