|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJSSE14SocketFactory
org.jboss.net.ssl.JBossSocketFactory
Extends the tomcat JSSE14SocketFactory to obtain the server key and trust stores from the SecurityDomain defined by the securityDomain attribute of the connector.
Constructor Summary | |
JBossSocketFactory()
|
Method Summary | |
protected javax.net.ssl.KeyManager[] |
getKeyManagers(java.lang.String keystoreType,
java.lang.String algorithm,
java.lang.String keyAlias)
Override to obtain the KeyManagers from the security domain. |
protected java.security.KeyStore |
getKeystore(java.lang.String type,
java.lang.String pass)
Gets the SSL server's keystore from the SecurityDomain. |
protected javax.net.ssl.TrustManager[] |
getTrustManagers(java.lang.String keystoreType,
java.lang.String algorithm)
Override to obtain the TrustManagers from the security domain. |
protected java.security.KeyStore |
getTrustStore(java.lang.String type)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
setSecurityDomainName(java.lang.String jndiName)
Set the SecurityDomain to use for the key/trust stores |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JBossSocketFactory()
Method Detail |
public void setAttribute(java.lang.String name, java.lang.Object value)
public void setSecurityDomainName(java.lang.String jndiName) throws javax.naming.NamingException, java.io.IOException
jndiName
- - the jndi name of the SecurityDomain binding
javax.naming.NamingException
java.io.IOException
protected java.security.KeyStore getKeystore(java.lang.String type, java.lang.String pass) throws java.io.IOException
type
- - ignored, this comes from the security domain configpass
- - ignore, this comes from the security domain config
java.io.IOException
protected java.security.KeyStore getTrustStore(java.lang.String type) throws java.io.IOException
java.io.IOException
protected javax.net.ssl.TrustManager[] getTrustManagers(java.lang.String keystoreType, java.lang.String algorithm) throws java.lang.Exception
keystoreType
- - ignored, this comes from the security domainalgorithm
- - ignored, this comes from the security domain
java.lang.Exception
protected javax.net.ssl.KeyManager[] getKeyManagers(java.lang.String keystoreType, java.lang.String algorithm, java.lang.String keyAlias) throws java.lang.Exception
keystoreType
- - ignored, this comes from the security domainalgorithm
- - ignored, this comes from the security domainkeyAlias
- - ignored
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |