Class CredentialFactory

java.lang.Object
org.frankframework.credentialprovider.CredentialFactory

public class CredentialFactory extends Object
  • Field Details

  • Method Details

    • getInstance

      public static CredentialFactory getInstance()
    • hasCredential

      public static boolean hasCredential(String rawAlias)
    • getCredentials

      @Nullable public static ICredentials getCredentials(@Nullable String rawAlias)
      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

      public static Collection<String> getConfiguredAliases() throws Exception
      Throws:
      Exception