Class CommandCredentialSource
- java.lang.Object
-
- org.wildfly.security.credential.source.impl.CommandCredentialSource
-
- All Implemented Interfaces:
CredentialSource
public final class CommandCredentialSource extends Object implements CredentialSource
A credential source which acquires a credential from the command line.- Author:
- David M. Lloyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandCredentialSource.BuilderA builder for a command credential source.
-
Field Summary
-
Fields inherited from interface org.wildfly.security.credential.source.CredentialSource
NONE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommandCredentialSource.Builderbuilder()Construct a new builder instance.<C extends Credential>
CgetCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)SupportLevelgetCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.credential.source.CredentialSource
applyToCredential, applyToCredential, applyToCredential, getCredential, getCredential, getCredentialAcquireSupport, getCredentialAcquireSupport, with, without, without, without
-
-
-
-
Method Detail
-
getCredentialAcquireSupport
public SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException
- Specified by:
getCredentialAcquireSupportin interfaceCredentialSource- Throws:
IOException
-
getCredential
public <C extends Credential> C getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException
- Specified by:
getCredentialin interfaceCredentialSource- Throws:
IOException
-
builder
public static CommandCredentialSource.Builder builder()
Construct a new builder instance.- Returns:
- the new builder instance
-
-