public class ServerSslContext<T extends ServerSslContext<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerSslContext.ServerSslContextResources
Child mutators for ServerSslContext
|
Constructor and Description |
---|
ServerSslContext(String key) |
Modifier and Type | Method and Description |
---|---|
Integer |
activeSessionCount()
The count of current active sessions.
|
T |
activeSessionCount(Integer value)
The count of current active sessions.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
authenticationOptional()
Rejecting of the client certificate by the security domain will not
prevent the connection.
|
T |
authenticationOptional(Boolean value)
Rejecting of the client certificate by the security domain will not
prevent the connection.
|
String |
cipherSuiteFilter()
The filter to apply to specify the enabled cipher suites.
|
T |
cipherSuiteFilter(String value)
The filter to apply to specify the enabled cipher suites.
|
String |
finalPrincipalTransformer()
A final principal transformer to apply for this mechanism realm.
|
T |
finalPrincipalTransformer(String value)
A final principal transformer to apply for this mechanism realm.
|
String |
getKey() |
String |
keyManager()
Reference to the key manager to use within the SSLContext.
|
T |
keyManager(String value)
Reference to the key manager to use within the SSLContext.
|
Integer |
maximumSessionCacheSize()
The maximum number of SSL sessions in the cache.
|
T |
maximumSessionCacheSize(Integer value)
The maximum number of SSL sessions in the cache.
|
Boolean |
needClientAuth()
To require a client certificate on SSL handshake.
|
T |
needClientAuth(Boolean value)
To require a client certificate on SSL handshake.
|
String |
postRealmPrincipalTransformer()
A principal transformer to apply after the realm is selected.
|
T |
postRealmPrincipalTransformer(String value)
A principal transformer to apply after the realm is selected.
|
String |
preRealmPrincipalTransformer()
A principal transformer to apply before the realm is selected.
|
T |
preRealmPrincipalTransformer(String value)
A principal transformer to apply before the realm is selected.
|
T |
protocol(String value)
The enabled protocols.
|
List<String> |
protocols()
The enabled protocols.
|
T |
protocols(List<String> value)
The enabled protocols.
|
T |
protocols(String... args)
The enabled protocols.
|
String |
providerName()
The name of the provider to use.
|
T |
providerName(String value)
The name of the provider to use.
|
String |
providers()
The name of the providers to obtain the Provider[] to use to load the
SSLContext.
|
T |
providers(String value)
The name of the providers to obtain the Provider[] to use to load the
SSLContext.
|
String |
realmMapper()
The realm mapper to be used for SSL authentication.
|
T |
realmMapper(String value)
The realm mapper to be used for SSL authentication.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
securityDomain()
The security domain to use for authentication during SSL session
establishment.
|
T |
securityDomain(String value)
The security domain to use for authentication during SSL session
establishment.
|
Integer |
sessionTimeout()
The timeout for SSL sessions, in seconds.
|
T |
sessionTimeout(Integer value)
The timeout for SSL sessions, in seconds.
|
T |
sslSession(SslSession value)
Add the SslSession object to the list of subresources
|
T |
sslSession(SslSessionSupplier supplier)
Install a supplied SslSession object to the list of subresources
|
T |
sslSession(String childKey)
Create and configure a SslSession object to the list of subresources
|
T |
sslSession(String childKey,
SslSessionConsumer consumer)
Create and configure a SslSession object to the list of subresources
|
T |
sslSessions(List<SslSession> value)
Add all SslSession objects to this subresource
|
ServerSslContext.ServerSslContextResources |
subresources() |
String |
trustManager()
Reference to the trust manager to use within the SSLContext.
|
T |
trustManager(String value)
Reference to the trust manager to use within the SSLContext.
|
Boolean |
useCipherSuitesOrder()
To honor local cipher suites preference.
|
T |
useCipherSuitesOrder(Boolean value)
To honor local cipher suites preference.
|
Boolean |
wantClientAuth()
To request (but not to require) a client certificate on SSL handshake.
|
T |
wantClientAuth(Boolean value)
To request (but not to require) a client certificate on SSL handshake.
|
Boolean |
wrap()
Should the SSLEngine, SSLSocket, and SSLServerSocket instances returned
be wrapped to protect against further modification.
|
T |
wrap(Boolean value)
Should the SSLEngine, SSLSocket, and SSLServerSocket instances returned
be wrapped to protect against further modification.
|
public ServerSslContext(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ServerSslContext.ServerSslContextResources subresources()
public T sslSessions(List<SslSession> value)
value
- List of SslSession objects.public T sslSession(SslSession value)
value
- The SslSession to addpublic T sslSession(String childKey, SslSessionConsumer consumer)
key
- The key for the SslSession resourceconfig
- The SslSessionConsumer to usepublic T sslSession(String childKey)
key
- The key for the SslSession resourcepublic T sslSession(SslSessionSupplier supplier)
public Integer activeSessionCount()
public Boolean authenticationOptional()
public T authenticationOptional(Boolean value)
public String cipherSuiteFilter()
public T cipherSuiteFilter(String value)
public String finalPrincipalTransformer()
public T finalPrincipalTransformer(String value)
public String keyManager()
public T keyManager(String value)
public Integer maximumSessionCacheSize()
public T maximumSessionCacheSize(Integer value)
public Boolean needClientAuth()
public T needClientAuth(Boolean value)
public String postRealmPrincipalTransformer()
public T postRealmPrincipalTransformer(String value)
public String preRealmPrincipalTransformer()
public T preRealmPrincipalTransformer(String value)
public String providerName()
public T providerName(String value)
public String providers()
public T providers(String value)
public String realmMapper()
public String securityDomain()
public T securityDomain(String value)
public Integer sessionTimeout()
public T sessionTimeout(Integer value)
public String trustManager()
public T trustManager(String value)
public Boolean useCipherSuitesOrder()
public T useCipherSuitesOrder(Boolean value)
public Boolean wantClientAuth()
public T wantClientAuth(Boolean value)
public Boolean wrap()
Copyright © 2018 JBoss by Red Hat. All rights reserved.