Class FileSystemCredentialFactory

java.lang.Object
org.frankframework.credentialprovider.FileSystemCredentialFactory
All Implemented Interfaces:
ICredentialFactory

public class FileSystemCredentialFactory extends Object implements ICredentialFactory

CredentialFactory implementation that reads secrets from the file system.

It reads the username and password from files in a directory. The directory is set by the property "credentialFactory.filesystem.root".

It reads the username from a file with the name set by the property "credentialFactory.filesystem.usernamefile" and the password from a file with the name set by the property "credentialFactory.filesystem.passwordfile". These values are relative to the "credentialFactory.filesystem.root"

By default, the default values username and password are used for these files.