|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.net.util.SSLProperties
Helper class to hold the SSL properties (used by TPCS & HTTPS connectors).
Constructor Summary | |
SSLProperties()
Construct a new SSLProperties . |
|
SSLProperties(Properties properties)
Construct a new SSLProperties . |
Method Summary | |
boolean |
equals(java.lang.Object other)
Checks whether this instance is equal to another. |
void |
export(Properties properties)
Helper to export this to a Properties instance. |
java.lang.String |
getKeyStore()
Returns the keystore. |
java.lang.String |
getKeyStorePassword()
Returns the keystore password. |
java.lang.String |
getKeyStoreType()
Returns the keystore type. |
java.lang.String |
getTrustStore()
Returns the truststore. |
java.lang.String |
getTrustStorePassword()
Returns the truststore password. |
java.lang.String |
getTrustStoreType()
Returns the truststore type. |
boolean |
isEmpty()
Test to see if this instance has been populated. |
void |
setKeyStore(java.lang.String store)
Sets the keystore.. |
void |
setKeyStorePassword(java.lang.String password)
Sets the keystore password. |
void |
setKeyStoreType(java.lang.String type)
Sets the keystore type. |
void |
setTrustStore(java.lang.String store)
Sets the truststore. |
void |
setTrustStorePassword(java.lang.String password)
Sets the truststore password. |
void |
setTrustStoreType(java.lang.String type)
Sets the truststore type. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSLProperties()
SSLProperties
.public SSLProperties(Properties properties) throws ResourceException
SSLProperties
.properties
- the properties to populate this fromResourceException
- if any of the properties are invalidMethod Detail |
public java.lang.String getKeyStore()
null
if unsetpublic void setKeyStore(java.lang.String store)
store
- the keystorepublic java.lang.String getKeyStorePassword()
null
if unsetpublic void setKeyStorePassword(java.lang.String password)
password
- the keystore passwordpublic java.lang.String getKeyStoreType()
null
if unsetpublic void setKeyStoreType(java.lang.String type)
type
- the the keystore typepublic java.lang.String getTrustStore()
null
if unsetpublic void setTrustStore(java.lang.String store)
store
- the truststorepublic java.lang.String getTrustStorePassword()
null
if unsetpublic void setTrustStorePassword(java.lang.String password)
password
- the truststore passwordpublic java.lang.String getTrustStoreType()
null
if unsetpublic void setTrustStoreType(java.lang.String type)
type
- the the trusstore typepublic boolean isEmpty()
true
if this hasn't been populatedpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the object to comparetrue
if the two instances are equal; otherwise
false
public void export(Properties properties)
Properties
instance.properties
- the properties to export to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |