Class CommandCredentialSource

java.lang.Object
org.wildfly.security.credential.source.impl.CommandCredentialSource
All Implemented Interfaces:
org.wildfly.security.credential.source.CredentialSource

public final class CommandCredentialSource extends Object implements org.wildfly.security.credential.source.CredentialSource
A credential source which acquires a credential from the command line.
Author:
David M. Lloyd
  • Method Details

    • getCredentialAcquireSupport

      public org.wildfly.security.auth.SupportLevel getCredentialAcquireSupport(Class<? extends org.wildfly.security.credential.Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException
      Specified by:
      getCredentialAcquireSupport in interface org.wildfly.security.credential.source.CredentialSource
      Throws:
      IOException
    • getCredential

      public <C extends org.wildfly.security.credential.Credential> C getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException
      Specified by:
      getCredential in interface org.wildfly.security.credential.source.CredentialSource
      Throws:
      IOException
    • builder

      public static CommandCredentialSource.Builder builder()
      Construct a new builder instance.
      Returns:
      the new builder instance