It is possible to make Onegini IdP application to store some of the properties within the file system. It can be achieved by defining two, related with each other, properties where first one represents the destination path and the second Base64 encoded contents.
Persistable properties names are following below naming convention
PERSISTABLE_PROPERTY_PREFIX - persistable property prefix is constant and equal to
CONTEXT - custom part, can be used to provide some readable description allowing to easily distinguish and recognize particular property, ex.
PERSISTABLE_PROPERTY_SUFFIX - persistable property suffix, depending on the property responsibility, can take either
Following above description, in order to store an
application.kestore file within filesystem following properties must be defined:
It is a hard requirement that persistable properties must always be defined in pairs (path:contents), the Onegini IdP application will crash during
startup by throwing
ConfigurationException in case:
- one of the properties is missing, either
contentsproperty is NOT a valid Base64 encoded string
- the application will fail to store/create file due to security issues (permissions)