Class CredentialFactory
java.lang.Object
org.frankframework.credentialprovider.CredentialFactory
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
<String> static ICredentials
getCredentials
(String rawAlias) Entrypoint.static ICredentials
getCredentials
(String rawAlias, String defaultUsername, String defaultPassword) Entrypoint Attempts to find the credential for the specified alias.static CredentialFactory
static boolean
hasCredential
(String rawAlias)
-
Field Details
-
log
-
CREDENTIAL_FACTORY_ALIAS_PREFIX_KEY
- See Also:
-
LEGACY_PACKAGE_NAME
- See Also:
-
ORG_FRANKFRAMEWORK_PACKAGE_NAME
- See Also:
-
DEFAULT_USERNAME_FIELD
- See Also:
-
DEFAULT_PASSWORD_FIELD
- See Also:
-
-
Method Details
-
getInstance
-
hasCredential
-
getCredentials
Entrypoint. Attempts to find the credential for the specified alias. If non is found, returns NULL, else the credential. -
getCredentials
@Nonnull public static ICredentials getCredentials(@Nullable String rawAlias, @Nullable String defaultUsername, @Nullable String defaultPassword) Entrypoint Attempts to find the credential for the specified alias. When non is found, uses the default (provided) fallback user/pass combination. -
getConfiguredAliases
- Throws:
Exception
-