Package org.frankframework.util
Class CredentialFactory
java.lang.Object
org.frankframework.util.CredentialFactory
Retries a username/password combination from the CredentialProvider.
-
Constructor Summary
ConstructorsConstructorDescriptionCredentialFactory(String alias) Attempts to resolve the provided aliasCredentialFactory(String alias, String defaultUsername, String defaultPassword) Attempts to resolve the provided alias, uses default username/password when provided. -
Method Summary
-
Constructor Details
-
CredentialFactory
Attempts to resolve the provided alias- Throws:
NoSuchElementException- when it cannot find the alias.
-
CredentialFactory
public CredentialFactory(String alias, String defaultUsername, String defaultPassword) throws NoSuchElementException Attempts to resolve the provided alias, uses default username/password when provided.- Throws:
NoSuchElementException- when it cannot find the alias, and no default username/password is provided.
-
-
Method Details