|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.util.jsse.JsseParameters org.apache.camel.util.jsse.BaseSSLContextParameters org.apache.camel.util.jsse.SSLContextServerParameters
public class SSLContextServerParameters
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.camel.util.jsse.BaseSSLContextParameters |
---|
BaseSSLContextParameters.SSLContextDecorator, BaseSSLContextParameters.SSLContextSpiDecorator, BaseSSLContextParameters.SSLServerSocketFactoryDecorator, BaseSSLContextParameters.SSLSocketFactoryDecorator |
Field Summary | |
---|---|
protected String |
clientAuthentication
The optional configuration options for server-side client-authentication requirements. |
Fields inherited from class org.apache.camel.util.jsse.BaseSSLContextParameters |
---|
DEFAULT_CIPHER_SUITES_FILTER_EXCLUDE, DEFAULT_CIPHER_SUITES_FILTER_INCLUDE, DEFAULT_SECURE_SOCKET_PROTOCOLS_FILTER_INCLUDE |
Constructor Summary | |
---|---|
SSLContextServerParameters()
|
Method Summary | |
---|---|
protected void |
configureSSLContext(SSLContext context)
Configures the actual SSLContext itself with direct setter calls. |
protected boolean |
getAllowPassthrough()
Returns a flag indicating if default values should be applied in the event that no other property of the instance configures a particular aspect of the entity produced by the instance. |
String |
getClientAuthentication()
|
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLEngine>> |
getSSLEngineConfigurers(SSLContext context)
Returns the list of configurers to apply to an SSLEngine in order
to fully configure it in compliance with the provided configuration options. |
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLServerSocket>> |
getSSLServerSocketFactorySSLServerSocketConfigurers(SSLContext context)
Returns the list of configurers to apply to an SSLServerSocket in order
to fully configure it in compliance with the provided configuration
options. |
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLSocketFactory>> |
getSSLSocketFactoryConfigurers(SSLContext context)
This class has no bearing on SSLSocketFactory instances and therefore provides no
configurers for that purpose. |
void |
setClientAuthentication(String value)
Sets the configuration options for server-side client-authentication requirements. |
String |
toString()
|
Methods inherited from class org.apache.camel.util.jsse.JsseParameters |
---|
getCamelContext, parsePropertyValue, parsePropertyValues, resolveResource, setCamelContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String clientAuthentication
Constructor Detail |
---|
public SSLContextServerParameters()
Method Detail |
---|
public String getClientAuthentication()
setClientAuthentication(String)
public void setClientAuthentication(String value)
ClientAuthentication
.
value
- the desired configuration options or null
to use the defaultsprotected boolean getAllowPassthrough()
BaseSSLContextParameters
getAllowPassthrough
in class BaseSSLContextParameters
SSLContextClientParameters
,
SSLContextServerParameters
protected void configureSSLContext(SSLContext context) throws GeneralSecurityException
BaseSSLContextParameters
SSLContext
itself with direct setter calls. This method differs from
configuration options that are handled by a configurer instance in that the options are part of the
context itself and are not part of some factory or instance object returned by the context.
configureSSLContext
in class BaseSSLContextParameters
context
- the context to configure
GeneralSecurityException
- if there is an error configuring the contextprotected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLEngine>> getSSLEngineConfigurers(SSLContext context)
SSLEngine
in order
to fully configure it in compliance with the provided configuration options.
The configurers are to be applied in the order in which they appear in the list.
This implementation allows for configuration of the need and want settings
for client authentication, but ignores the enabled cipher suites
and protocols as they are not client and server side specific in an
SSLEngine
. Consequently, overriding them here would be a bit odd
as the server side specific configuration shouldn't really override a
shared client/server configuration option.
getSSLEngineConfigurers
in class BaseSSLContextParameters
context
- the context that serves as the factory for SSLEngine
instances
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLServerSocket>> getSSLServerSocketFactorySSLServerSocketConfigurers(SSLContext context)
BaseSSLContextParameters
SSLServerSocket
in order
to fully configure it in compliance with the provided configuration
options. These configurers are intended for sockets produced by a
SSLServerSocketFactory
, see
BaseSSLContextParameters.getSSLSocketFactorySSLSocketConfigurers(SSLContext)
for
configurers related to sockets produced by a
SSLSocketFactory
. The configurers are to be applied in
the order in which they appear in the list.
getSSLServerSocketFactorySSLServerSocketConfigurers
in class BaseSSLContextParameters
context
- the context that serves as the factory for
SSLServerSocketFactory
instances
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLSocketFactory>> getSSLSocketFactoryConfigurers(SSLContext context)
SSLSocketFactory
instances and therefore provides no
configurers for that purpose.
getSSLSocketFactoryConfigurers
in class BaseSSLContextParameters
context
- the context that serves as the factory for SSLSocketFactory
instances
BaseSSLContextParameters.getSSLSocketFactorySSLSocketConfigurers(SSLContext)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |