org.wildfly.extras.creaper.commands.elytron
Class CreateServerSSLContext

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.elytron.CreateServerSSLContext
All Implemented Interfaces:
Command, OnlineCommand

public final class CreateServerSSLContext
extends Object
implements OnlineCommand

Composite creaper command. Takes flat parameters and compose server ssl context with all dependent resource hierarchy.

It should be possible to configure most of use cases atomic creaper commands allows.


Nested Class Summary
static class CreateServerSSLContext.Builder
           
 
Field Summary
protected  List<String> protocols
           
static String TLS13_CIPHER_SUITE_NAMES
           
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Method Summary
 void apply(OnlineCommandContext ctx)
           
static String getKeyManagerName(String serverSslContextName)
          Get name of key manager associated with server ssl context.
static String getKeyStoreName(String serverSslContext)
          Get name of key store associated with server ssl context.
static String getTrustManagerName(String serverSslContextName)
          Get name of trust manager associated with server ssl context.
static String getTrustStoreName(String serverSslContext)
          Get name of trust store associated with server ssl context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
toString
 

Field Detail

protocols

protected final List<String> protocols

TLS13_CIPHER_SUITE_NAMES

public static final String TLS13_CIPHER_SUITE_NAMES
See Also:
Constant Field Values
Method Detail

apply

public void apply(OnlineCommandContext ctx)
           throws Exception
Specified by:
apply in interface OnlineCommand
Throws:
Exception

getTrustManagerName

public static String getTrustManagerName(String serverSslContextName)
Get name of trust manager associated with server ssl context.

Parameters:
serverSslContextName - server SSL context name
Returns:
trust manager name

getKeyManagerName

public static String getKeyManagerName(String serverSslContextName)
Get name of key manager associated with server ssl context.

Parameters:
serverSslContextName - server SSL context name
Returns:
key manager name

getKeyStoreName

public static String getKeyStoreName(String serverSslContext)
Get name of key store associated with server ssl context.

Parameters:
serverSslContext - server SSL context name
Returns:
key store name

getTrustStoreName

public static String getTrustStoreName(String serverSslContext)
Get name of trust store associated with server ssl context.

Parameters:
serverSslContext - server SSL context name
Returns:
trust store name


Copyright © 2020. All rights reserved.