public abstract class SSLSecurityBuilder extends Object implements SecurityCommand.FailureConsumer
| Modifier and Type | Class and Description |
|---|---|
static interface |
SSLSecurityBuilder.FailureDescProvider |
| Modifier and Type | Field and Description |
|---|---|
SSLSecurityBuilder.FailureDescProvider |
NO_DESC |
| Constructor and Description |
|---|
SSLSecurityBuilder() |
public SSLSecurityBuilder.FailureDescProvider NO_DESC
public SSLSecurityBuilder()
throws org.aesh.command.CommandException
org.aesh.command.CommandExceptionprotected void needKeyStoreStore(String keyStoreName)
protected void addFinalstep(org.jboss.dmr.ModelNode step,
SSLSecurityBuilder.FailureDescProvider ex)
public void setNewTrustStoreName(String newTrustStoreName)
public void setNewTrustManagerName(String newTrustManagerName)
public org.jboss.dmr.ModelNode buildExecutableRequest(CommandContext ctx) throws Exception
Exceptionpublic File getTrustedCertificatePath()
public void setTrustedCertificatePath(File trustedCertificate)
public void setValidateCertificate(boolean validateCertificate)
public void addStep(org.jboss.dmr.ModelNode step,
SSLSecurityBuilder.FailureDescProvider ex)
public ServerSSLContext getServerSSLContext()
public SSLSecurityBuilder setSSLContextName(String sslContextName)
public SSLSecurityBuilder setKeyManagerName(String keyManagerName)
protected abstract KeyStore buildKeyStore(CommandContext ctx, boolean workaroundComposite) throws Exception
Exceptionpublic void buildRequest(CommandContext ctx, boolean buildRequest) throws Exception
Exceptionprotected KeyManager buildTrustManager(CommandContext ctx, boolean buildRequest) throws Exception
Exceptionpublic void failureOccured(CommandContext ctx, org.jboss.dmr.ModelNode mn) throws org.aesh.command.CommandException
failureOccured in interface SecurityCommand.FailureConsumerorg.aesh.command.CommandExceptionprotected abstract void doFailureOccured(CommandContext ctx) throws Exception
Exceptionpublic String getTrustStoreName()
public void setTrustStoreName(String trustStoreName)
trustStoreName - the trustStoreName to setpublic String getTrustStoreFileName()
public void setTrustStoreFileName(String trustStoreFileName)
trustStoreFileName - the trustStoreFileName to setpublic void setTrustStoreFilePassword(String trustStoreFilePassword)
Copyright © 2018 JBoss by Red Hat. All rights reserved.