Class PropertyFileCredentialFactory
- java.lang.Object
-
- org.frankframework.credentialprovider.MapCredentialFactory
-
- org.frankframework.credentialprovider.PropertyFileCredentialFactory
-
- All Implemented Interfaces:
ICredentialFactory
public class PropertyFileCredentialFactory extends MapCredentialFactory
CredentialFactory that reads its credentials from a plain (unencrypted) .properties file. For adequate privacy in production environments, the source file should not be readable by unauthorised users.- Author:
- Gerrit van Brakel
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILE_PROPERTYstatic StringPROPERTY_BASE-
Fields inherited from class org.frankframework.credentialprovider.MapCredentialFactory
PASSWORD_SUFFIX_DEFAULT, PASSWORD_SUFFIX_PROPERTY, USERNAME_SUFFIX_DEFAULT, USERNAME_SUFFIX_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description PropertyFileCredentialFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>getCredentialMap(CredentialConstants appConstants)StringgetPropertyBase()-
Methods inherited from class org.frankframework.credentialprovider.MapCredentialFactory
getConfiguredAliases, getCredentials, getInputStream, hasCredentials, initialize
-
-
-
-
Field Detail
-
PROPERTY_BASE
public static final String PROPERTY_BASE
- See Also:
- Constant Field Values
-
FILE_PROPERTY
public static final String FILE_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyBase
public String getPropertyBase()
- Specified by:
getPropertyBasein classMapCredentialFactory
-
getCredentialMap
protected Map<String,String> getCredentialMap(CredentialConstants appConstants) throws IOException
- Specified by:
getCredentialMapin classMapCredentialFactory- Throws:
IOException
-
-