Class CredentialFactory
java.lang.Object
org.frankframework.credentialprovider.CredentialFactory
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<String> static ICredentialsgetCredentials(String rawAlias) Entrypoint.static ICredentialsgetCredentials(String rawAlias, String defaultUsername, String defaultPassword) Entrypoint.static CredentialFactorystatic booleanhasCredential(String rawAlias)
-
Field Details
-
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:
-
delegates
-
ALLOW_DEFAULT_PASSWORD
protected static boolean ALLOW_DEFAULT_PASSWORD
-
-
Method Details
-
getInstance
-
hasCredential
-
getCredentials
Entrypoint. Attempts to find the credential for the specified alias. If none is found, returns NULL, else the credential. -
getCredentials
@Nonnull public static ICredentials getCredentials(@Nullable String rawAlias, @Nullable String defaultUsername, @Nullable String defaultPassword) throws NoSuchElementException Entrypoint. Attempts to find the credential for the specified alias. When none is found, uses the default (provided) fallback user/pass combination.- Throws:
NoSuchElementException
-
getConfiguredAliases
- Throws:
Exception
-