|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.w3c.jigsaw.https.SSLAdapter
Field Summary | |
static java.lang.String |
KEYSTORE_PASSWORD_P
property key for specifying the keystore password |
static java.lang.String |
KEYSTORE_PASSWORD_S
property key for the system keystore password |
static java.lang.String |
KEYSTORE_PATH_P
property key for specifying the keystore path |
static java.lang.String |
KEYSTORE_PATH_S
property key for the system keystore path |
static java.lang.String |
PROTOCOL_HANDLER_D
default TLS protocol handler (should always be set to default) |
static java.lang.String |
PROTOCOL_HANDLER_P
property key for specifying the TLS protocol handler |
static java.lang.String |
PROTOCOL_HANDLER_S
property key for the system protocol package lookup |
static java.lang.String |
SECURITY_PROVIDER_D
default security provider for TLS support |
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 |
static java.lang.String |
TRUSTSTORE_PASSWORD_P
property key for specifying the truststore password (future use for client mode) |
static java.lang.String |
TRUSTSTORE_PASSWORD_S
property key for the system keystore password (future usage for client mode) |
static java.lang.String |
TRUSTSTORE_PATH_P
property key for specifying the truststore path (future use for client mode) |
static java.lang.String |
TRUSTSTORE_PATH_S
property key for the system truststore path (future usage for client mode) |
protected java.net.URL |
url
uri of the daemon in question |
static java.lang.String |
version
version string of the adapter class |
Constructor Summary | |
SSLAdapter(httpd server)
constructor for a TLS support adapter |
Method Summary | |
java.lang.String |
getBanner(java.lang.String banner)
method for supplying a TLS support banner |
java.net.URL |
getURL()
method for supplying a daemon uri |
void |
initializeProperties()
method for initializing the properties of a daemon |
void |
initializePropertySets()
method for registering TLS property management |
void |
perform(RequestInterface req)
method for preparing a reply interface for a request |
boolean |
propertyChanged(java.lang.String name)
method for handling a dynamic property modification of a daemon |
boolean |
sslEnabled()
method for indicating TLS support |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String version
public static final java.lang.String SSL_ENABLED_P
public static final java.lang.String PROTOCOL_HANDLER_P
public static final java.lang.String SECURITY_PROVIDER_P
public static final java.lang.String KEYSTORE_PATH_P
public static final java.lang.String KEYSTORE_PASSWORD_P
public static final java.lang.String TRUSTSTORE_PATH_P
public static final java.lang.String TRUSTSTORE_PASSWORD_P
public static final java.lang.String PROTOCOL_HANDLER_S
public static final java.lang.String KEYSTORE_PATH_S
public static final java.lang.String KEYSTORE_PASSWORD_S
public static final java.lang.String TRUSTSTORE_PATH_S
public static final java.lang.String TRUSTSTORE_PASSWORD_S
public static final java.lang.String SECURITY_PROVIDER_D
public static final java.lang.String PROTOCOL_HANDLER_D
protected java.net.URL url
Constructor Detail |
public SSLAdapter(httpd server)
server
- reference to the daemon in questionMethod Detail |
public void initializePropertySets()
public void initializeProperties() throws ServerHandlerInitException
ServerHandlerInitException
- thrown if initialization failspublic boolean propertyChanged(java.lang.String name)
name
- name of the property modified
public void perform(RequestInterface req) throws ProtocolException
req
- the current request to be handled
ProtocolException
- thrown if the request url is malformedpublic java.net.URL getURL()
public java.lang.String getBanner(java.lang.String banner)
banner
- the original banner of the daemon in question
public boolean sslEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |