public interface ICredentialFactory
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getConfiguredAliases()
return a list of all configured aliases, or null if such a list cannot be provided.
|
ICredentials |
getCredentials(String alias,
Supplier<String> defaultUsernameSupplier,
Supplier<String> defaultPasswordSupplier) |
boolean |
hasCredentials(String alias) |
default void |
initialize()
initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
|
default void initialize() throws Exception
Exception
boolean hasCredentials(String alias)
ICredentials getCredentials(String alias, Supplier<String> defaultUsernameSupplier, Supplier<String> defaultPasswordSupplier)
Collection<String> getConfiguredAliases() throws Exception
Exception
Copyright © 2023 Frank!Framework. All rights reserved.