net.dpml.http
Interface SslSocketConnector.Context

All Superinterfaces:
ConnectorContext
Enclosing interface:
SslSocketConnector

public static interface SslSocketConnector.Context
extends ConnectorContext

SSL connector context definition.


Method Summary
 String getAlgorithm(String algorithm)
          Return the keystore algorithm.
 String getCertificatePassword(String password)
          Return the certificate password.
 String[] getCipherSuites(String[] suites)
          Set the cipher suites.
 URI getKeyStore(URI keystore)
          Return the keystore location uri.
 String getKeyStorePassword(String password)
          Return the keystore password.
 String getKeyStoreType(String type)
          Return the keystore type.
 boolean getNeedClientAuth(boolean flag)
          Return the 'need-client-authentication' policy.
 String getProtocol(String protocol)
          Return the SSL protocol.
 String getProvider(String provider)
          Return the SSL context provider.
 String getTrustAlgorithm(String algorithm)
          Return the keystore algorithm.
 URI getTrustStore(URI uri)
          Return the keystore location uri.
 String getTrustStorePassword(String password)
          Return the trust store password.
 String getTrustStoreType(String type)
          Return the keystore type.
 boolean getWantClientAuth(boolean flag)
          Return the 'want-client-authentication' policy.
 
Methods inherited from interface net.dpml.http.ConnectorContext
getAcceptors, getAcceptQueueSize, getConfidentialPort, getConfidentialScheme, getHeaderBufferSize, getHost, getIntegralPort, getIntegralScheme, getMaxIdleTime, getPort, getRequestBufferSize, getResponseBufferSize, getSoLingerTime
 

Method Detail

getCipherSuites

public String[] getCipherSuites(String[] suites)
Set the cipher suites.

Parameters:
suites - the default suites argument
Returns:
the cipher suites

getKeyStorePassword

public String getKeyStorePassword(String password)
Return the keystore password.

Parameters:
password - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getCertificatePassword

public String getCertificatePassword(String password)
Return the certificate password.

Parameters:
password - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getAlgorithm

public String getAlgorithm(String algorithm)
Return the keystore algorithm.

Parameters:
algorithm - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getKeyStoreType

public String getKeyStoreType(String type)
Return the keystore type.

Parameters:
type - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getProtocol

public String getProtocol(String protocol)
Return the SSL protocol.

Parameters:
protocol - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getKeyStore

public URI getKeyStore(URI keystore)
Return the keystore location uri.

Parameters:
keystore - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getWantClientAuth

public boolean getWantClientAuth(boolean flag)
Return the 'want-client-authentication' policy.

Parameters:
flag - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getNeedClientAuth

public boolean getNeedClientAuth(boolean flag)
Return the 'need-client-authentication' policy.

Parameters:
flag - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getProvider

public String getProvider(String provider)
Return the SSL context provider.

Parameters:
provider - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getTrustAlgorithm

public String getTrustAlgorithm(String algorithm)
Return the keystore algorithm.

Parameters:
algorithm - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getTrustStore

public URI getTrustStore(URI uri)
Return the keystore location uri.

Parameters:
uri - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getTrustStoreType

public String getTrustStoreType(String type)
Return the keystore type.

Parameters:
type - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getTrustStorePassword

public String getTrustStorePassword(String password)
Return the trust store password.

Parameters:
password - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration