org.w3c.jigsaw.https.socket
Class SSLProperties

java.lang.Object
  extended by org.w3c.tools.resources.AttributeHolder
      extended by org.w3c.tools.resources.Resource
          extended by org.w3c.jigsaw.config.PropertySet
              extended by org.w3c.jigsaw.https.socket.SSLProperties
All Implemented Interfaces:
java.lang.Cloneable

public class SSLProperties
extends PropertySet


Field Summary
protected static int ATTR_SSL_AUTHENTICATE_REQUIRED
          ssl authenticate status attribute index (for mandatory client authentication)
protected static int ATTR_SSL_KEYMANAGER_TYPE
          keymanager type attribute index
protected static int ATTR_SSL_KEYSTORE_GENERIC
          keystore generic attribute index
protected static int ATTR_SSL_KEYSTORE_PASSWORD
          keystore password attribute index
protected static int ATTR_SSL_KEYSTORE_PATH
          keystore path attribute index
protected static int ATTR_SSL_KEYSTORE_TYPE
          keystore type attribute index
protected static int ATTR_SSL_PROTOCOL_NAME
          protocol name attribute index
protected static int ATTR_SSL_TRUSTMANAGER_TYPE
          trustmanager type attribute index
protected static int ATTR_SSL_TRUSTSTORE_GENERIC
          truststore generic attribute index
protected static int ATTR_SSL_TRUSTSTORE_PASSWORD
          truststore password attribute index (for client authentication)
protected static int ATTR_SSL_TRUSTSTORE_PATH
          truststore path attribute index (for client authentication)
protected static int ATTR_SSL_TRUSTSTORE_TYPE
          truststore type attribute index (for client authentication)
static boolean DEFAULT_KEYSTORE_GENERIC
          default TLS generic keystore default
static boolean DEFAULT_MUST_AUTHENTICATE
          default TLS client mandatory authentication
static java.lang.String DEFAULT_PROTOCOL_HANDLER
          default TLS protocol handler (concerning pre JDK 1.4 api only)
static java.lang.String DEFAULT_PROTOCOL_NAME
          default TLS protocol
static java.lang.String DEFAULT_SECURITY_PROVIDER
          default security provider for TLS support (concerning pre JDK 1.4 api only)
static boolean DEFAULT_SSL_ENABLED
          default TLS support
static boolean DEFAULT_TRUSTSTORE_GENERIC
          default TLS generic truststore default
static java.lang.String KEYMANAGER_TYPE_P
          property key for specifying the keymanager type
static java.lang.String KEYSTORE_GENERIC_P
          property key for indicating a generic keystore, i.e.
static java.lang.String KEYSTORE_PASSWORD_P
          property key for specifying the keystore password
static java.lang.String KEYSTORE_PATH_P
          property key for specifying the keystore path
static java.lang.String KEYSTORE_TYPE_P
          property key for specifying the keystore type
static java.lang.String MUST_AUTHENTICATE_P
          property key for enabling mandatory TLS client authentication
static java.lang.String PROTOCOL_HANDLER_P
          property key for specifying the TLS protocol handler
static java.lang.String PROTOCOL_NAME_P
          property key for specifying the TLS protocol name
static java.lang.String SECURITY_PROVIDER_P
          property key for specifying the TLS security provider
static java.lang.String SSL_ENABLED_P
          property key for enabling TLS support (attribute implicit via keystore configuration)
static java.lang.String TRUSTMANAGER_TYPE_P
          property key for specifying the trustmanager type
static java.lang.String TRUSTSTORE_GENERIC_P
          property key for indicating a generic truststore, i.e.
static java.lang.String TRUSTSTORE_PASSWORD_P
          property key for specifying the truststore password
static java.lang.String TRUSTSTORE_PATH_P
          property key for specifying the truststore path
static java.lang.String TRUSTSTORE_TYPE_P
          property key for specifying the truststore type
 
Fields inherited from class org.w3c.jigsaw.config.PropertySet
server
 
Fields inherited from class org.w3c.tools.resources.Resource
ATTR_CONTEXT, ATTR_HELP_URL, ATTR_IDENTIFIER, ATTR_LAST_MODIFIED, ATTR_PARENT, ATTR_RESOURCE_FRAMES, ATTR_STORE_ENTRY, ATTR_URL, co, id
 
Fields inherited from class org.w3c.tools.resources.AttributeHolder
attributes, values
 
Constructor Summary
SSLProperties(httpd server)
          nameless constructor for SSL properties
SSLProperties(java.lang.String name, httpd server)
          named constructor for SSL properties
 
Method Summary
 
Methods inherited from class org.w3c.jigsaw.config.PropertySet
convertingGet, getHelpURL, getHelpURL, getTitle, getValue, initialize, setValue, unsafeGetValue
 
Methods inherited from class org.w3c.tools.resources.Resource
acceptUnload, checkMultipleLock, collectFrames, delete, getClone, getContext, getFrame, getFrames, getIdentifier, getLastModified, getParent, getResourceReference, getServer, getSpace, getSpaceEntry, getStoreEntry, getURLPath, getValue, initialize, isInitialized, isUnloaded, markModified, notifyUnload, pickleValues, registerFrame, setContext, setContext, setValue, unregisterFrame, unsafeGetContext, unsafeGetFrame, unsafeGetFrames, unsafeGetIdentifier, unsafeGetResourceReference, unsafeGetURLPath, updateAttributes
 
Methods inherited from class org.w3c.tools.resources.AttributeHolder
definesAttribute, definesAttribute, getAttributes, getBoolean, getChar, getClone, getClone, getDouble, getFloat, getInt, getLong, getString, getValue, lookupAttribute, print, setBoolean, setChar, setDouble, setFloat, setInt, setLong, setString, setValue, unsafeDefinesAttribute, unsafeGetDouble, unsafeGetString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECURITY_PROVIDER_P

public static final java.lang.String SECURITY_PROVIDER_P
property key for specifying the TLS security provider

See Also:
Constant Field Values

PROTOCOL_HANDLER_P

public static final java.lang.String PROTOCOL_HANDLER_P
property key for specifying the TLS protocol handler

See Also:
Constant Field Values

PROTOCOL_NAME_P

public static final java.lang.String PROTOCOL_NAME_P
property key for specifying the TLS protocol name

See Also:
Constant Field Values

KEYMANAGER_TYPE_P

public static final java.lang.String KEYMANAGER_TYPE_P
property key for specifying the keymanager type

See Also:
Constant Field Values

KEYSTORE_GENERIC_P

public static final java.lang.String KEYSTORE_GENERIC_P
property key for indicating a generic keystore, i.e. a class implementing the key manager factory parameters interface

See Also:
Constant Field Values

KEYSTORE_TYPE_P

public static final java.lang.String KEYSTORE_TYPE_P
property key for specifying the keystore type

See Also:
Constant Field Values

KEYSTORE_PATH_P

public static final java.lang.String KEYSTORE_PATH_P
property key for specifying the keystore path

See Also:
Constant Field Values

KEYSTORE_PASSWORD_P

public static final java.lang.String KEYSTORE_PASSWORD_P
property key for specifying the keystore password

See Also:
Constant Field Values

TRUSTMANAGER_TYPE_P

public static final java.lang.String TRUSTMANAGER_TYPE_P
property key for specifying the trustmanager type

See Also:
Constant Field Values

TRUSTSTORE_GENERIC_P

public static final java.lang.String TRUSTSTORE_GENERIC_P
property key for indicating a generic truststore, i.e. a class implementing the key manager factory parameters interface

See Also:
Constant Field Values

TRUSTSTORE_TYPE_P

public static final java.lang.String TRUSTSTORE_TYPE_P
property key for specifying the truststore type

See Also:
Constant Field Values

TRUSTSTORE_PATH_P

public static final java.lang.String TRUSTSTORE_PATH_P
property key for specifying the truststore path

See Also:
Constant Field Values

TRUSTSTORE_PASSWORD_P

public static final java.lang.String TRUSTSTORE_PASSWORD_P
property key for specifying the truststore password

See Also:
Constant Field Values

MUST_AUTHENTICATE_P

public static final java.lang.String MUST_AUTHENTICATE_P
property key for enabling mandatory TLS client authentication

See Also:
Constant Field Values

SSL_ENABLED_P

public static final java.lang.String SSL_ENABLED_P
property key for enabling TLS support (attribute implicit via keystore configuration)

See Also:
Constant Field Values

DEFAULT_SECURITY_PROVIDER

public static final java.lang.String DEFAULT_SECURITY_PROVIDER
default security provider for TLS support (concerning pre JDK 1.4 api only)

See Also:
Constant Field Values

DEFAULT_PROTOCOL_HANDLER

public static final java.lang.String DEFAULT_PROTOCOL_HANDLER
default TLS protocol handler (concerning pre JDK 1.4 api only)

See Also:
Constant Field Values

DEFAULT_PROTOCOL_NAME

public static final java.lang.String DEFAULT_PROTOCOL_NAME
default TLS protocol

See Also:
Constant Field Values

DEFAULT_KEYSTORE_GENERIC

public static final boolean DEFAULT_KEYSTORE_GENERIC
default TLS generic keystore default

See Also:
Constant Field Values

DEFAULT_TRUSTSTORE_GENERIC

public static final boolean DEFAULT_TRUSTSTORE_GENERIC
default TLS generic truststore default

See Also:
Constant Field Values

DEFAULT_MUST_AUTHENTICATE

public static final boolean DEFAULT_MUST_AUTHENTICATE
default TLS client mandatory authentication

See Also:
Constant Field Values

DEFAULT_SSL_ENABLED

public static final boolean DEFAULT_SSL_ENABLED
default TLS support

See Also:
Constant Field Values

ATTR_SSL_PROTOCOL_NAME

protected static int ATTR_SSL_PROTOCOL_NAME
protocol name attribute index


ATTR_SSL_KEYMANAGER_TYPE

protected static int ATTR_SSL_KEYMANAGER_TYPE
keymanager type attribute index


ATTR_SSL_KEYSTORE_GENERIC

protected static int ATTR_SSL_KEYSTORE_GENERIC
keystore generic attribute index


ATTR_SSL_KEYSTORE_TYPE

protected static int ATTR_SSL_KEYSTORE_TYPE
keystore type attribute index


ATTR_SSL_KEYSTORE_PATH

protected static int ATTR_SSL_KEYSTORE_PATH
keystore path attribute index


ATTR_SSL_KEYSTORE_PASSWORD

protected static int ATTR_SSL_KEYSTORE_PASSWORD
keystore password attribute index


ATTR_SSL_TRUSTMANAGER_TYPE

protected static int ATTR_SSL_TRUSTMANAGER_TYPE
trustmanager type attribute index


ATTR_SSL_TRUSTSTORE_GENERIC

protected static int ATTR_SSL_TRUSTSTORE_GENERIC
truststore generic attribute index


ATTR_SSL_TRUSTSTORE_TYPE

protected static int ATTR_SSL_TRUSTSTORE_TYPE
truststore type attribute index (for client authentication)


ATTR_SSL_TRUSTSTORE_PATH

protected static int ATTR_SSL_TRUSTSTORE_PATH
truststore path attribute index (for client authentication)


ATTR_SSL_TRUSTSTORE_PASSWORD

protected static int ATTR_SSL_TRUSTSTORE_PASSWORD
truststore password attribute index (for client authentication)


ATTR_SSL_AUTHENTICATE_REQUIRED

protected static int ATTR_SSL_AUTHENTICATE_REQUIRED
ssl authenticate status attribute index (for mandatory client authentication)

Constructor Detail

SSLProperties

public SSLProperties(httpd server)
nameless constructor for SSL properties

Parameters:
server - reference to the current daemon

SSLProperties

public SSLProperties(java.lang.String name,
                     httpd server)
named constructor for SSL properties

Parameters:
name - the name for the daemon in question
server - reference to the current daemon