org.ws4d.java.configuration
Class SecurityProperties

java.lang.Object
  extended by org.ws4d.java.configuration.SecurityProperties
All Implemented Interfaces:
PropertiesHandler

public class SecurityProperties
extends java.lang.Object
implements PropertiesHandler


Field Summary
static java.lang.String ALLOW_SECURE_ONLY
           
static PropertyHeader HEADER_SECTION_SECURITY
           
static java.lang.String KEYSTORE_FILE
           
static java.lang.String KEYSTORE_PASWD
           
static java.lang.String[] SECTION_SECURITY
           
static java.lang.String TRUSTSTORE_FILE
           
static java.lang.String TRUSTSTORE_PASWD
           
 
Fields inherited from interface org.ws4d.java.configuration.PropertiesHandler
FALSE, TRUE
 
Method Summary
 void finishedSection(int depth)
          This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.
static SecurityProperties getInstance()
           
 java.lang.String getKeyStoreFilePath()
           
 java.lang.String getKeyStorePswd()
           
 java.lang.String getTrustStorePasswd()
           
 java.lang.String getTrustStorePath()
           
 void setKeyStoreFileName(java.lang.String keyStoreFileName)
           
 void setKeyStorePaswd(java.lang.String keyStorePaswd)
           
 void setProperties(PropertyHeader header, Property property)
           
 void setTrustStorePasswd(java.lang.String trustStorePasswd)
           
 void setTrustStorePath(java.lang.String trustStorePath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECTION_SECURITY

public static final java.lang.String[] SECTION_SECURITY

HEADER_SECTION_SECURITY

public static final PropertyHeader HEADER_SECTION_SECURITY

KEYSTORE_FILE

public static final java.lang.String KEYSTORE_FILE
See Also:
Constant Field Values

KEYSTORE_PASWD

public static final java.lang.String KEYSTORE_PASWD
See Also:
Constant Field Values

TRUSTSTORE_FILE

public static final java.lang.String TRUSTSTORE_FILE
See Also:
Constant Field Values

TRUSTSTORE_PASWD

public static final java.lang.String TRUSTSTORE_PASWD
See Also:
Constant Field Values

ALLOW_SECURE_ONLY

public static final java.lang.String ALLOW_SECURE_ONLY
See Also:
Constant Field Values
Method Detail

getInstance

public static SecurityProperties getInstance()

finishedSection

public void finishedSection(int depth)
Description copied from interface: PropertiesHandler
This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.

Specified by:
finishedSection in interface PropertiesHandler
Parameters:
depth - depth of section.

setProperties

public void setProperties(PropertyHeader header,
                          Property property)
Specified by:
setProperties in interface PropertiesHandler
Parameters:
header - header of section
property - property within section

getKeyStoreFilePath

public java.lang.String getKeyStoreFilePath()

getKeyStorePswd

public java.lang.String getKeyStorePswd()

getTrustStorePath

public java.lang.String getTrustStorePath()

getTrustStorePasswd

public java.lang.String getTrustStorePasswd()

setKeyStoreFileName

public void setKeyStoreFileName(java.lang.String keyStoreFileName)

setKeyStorePaswd

public void setKeyStorePaswd(java.lang.String keyStorePaswd)

setTrustStorePath

public void setTrustStorePath(java.lang.String trustStorePath)

setTrustStorePasswd

public void setTrustStorePasswd(java.lang.String trustStorePasswd)