public class FileSystemCredentialFactory extends Object implements ICredentialFactory
| Modifier and Type | Field and Description |
|---|---|
String |
FILESYSTEM_ROOT_DEFAULT |
String |
FILESYSTEM_ROOT_PROPERTY |
static String |
PASSWORD_FILE_DEFAULT |
String |
PASSWORD_FILE_PROPERTY |
static String |
USERNAME_FILE_DEFAULT |
String |
USERNAME_FILE_PROPERTY |
| Constructor and Description |
|---|
FileSystemCredentialFactory() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getConfiguredAliases()
return a list of all configured aliases, or null if such a list cannot be provided.
|
ICredentials |
getCredentials(String alias,
String defaultUsername,
String defaultPassword) |
boolean |
hasCredentials(String alias) |
void |
initialize()
initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
|
public final String FILESYSTEM_ROOT_PROPERTY
public final String USERNAME_FILE_PROPERTY
public final String PASSWORD_FILE_PROPERTY
public final String FILESYSTEM_ROOT_DEFAULT
public static final String USERNAME_FILE_DEFAULT
public static final String PASSWORD_FILE_DEFAULT
public void initialize()
ICredentialFactoryinitialize in interface ICredentialFactorypublic boolean hasCredentials(String alias)
hasCredentials in interface ICredentialFactorypublic ICredentials getCredentials(String alias, String defaultUsername, String defaultPassword)
getCredentials in interface ICredentialFactorypublic List<String> getConfiguredAliases() throws Exception
ICredentialFactorygetConfiguredAliases in interface ICredentialFactoryExceptionCopyright © 2023 Frank!Framework. All rights reserved.