|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
SSL Server Socket Factory for Tomcat.
It can take 4 parameters keystoreFile : PKCS12 file for keystore keystorePass : Password for Key Store PBE truststoreFile : List of trustpoints, if mutualAuth == true clientAuth : Mutual Authentication. Client is authenticated against truststore
Constructor Summary | |
SSLServerSocketFactory()
|
Method Summary | |
java.net.ServerSocket |
createSocket(int port)
|
java.net.ServerSocket |
createSocket(int port,
int backlog)
|
java.net.ServerSocket |
createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
|
java.lang.String |
getKeystoreFile()
Get the value of keystoreFile. |
java.lang.String |
getKeystorePass()
Get the value of keystorePass. |
java.lang.String |
getLogFile()
Get the value of truststoreFile. |
java.lang.String |
getTruststoreFile()
Get the value of truststoreFile. |
boolean |
isClientAuth()
Get the value of clientAuth. |
void |
setClientAuth(boolean v)
Set the value of clientAuth. |
void |
setKeystoreFile(java.lang.String v)
Set the value of keystoreFile. |
void |
setKeystorePass(java.lang.String v)
Set the value of keystorePass. |
void |
setLogFile(java.lang.String v)
Set the value of truststoreFile. |
void |
setTruststoreFile(java.lang.String v)
Set the value of truststoreFile. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public SSLServerSocketFactory()
Method Detail |
public java.lang.String getKeystoreFile()
public void setKeystoreFile(java.lang.String v)
v
- Value to assign to keystoreFile.public java.lang.String getTruststoreFile()
public void setTruststoreFile(java.lang.String v)
v
- Value to assign to truststoreFile.public java.lang.String getLogFile()
public void setLogFile(java.lang.String v)
v
- Value to assign to truststoreFile.public java.lang.String getKeystorePass()
public void setKeystorePass(java.lang.String v)
v
- Value to assign to keystorePass.public boolean isClientAuth()
public void setClientAuth(boolean v)
v
- Value to assign to clientAuth.public java.net.ServerSocket createSocket(int port) throws java.io.IOException
createSocket
in interface org.apache.catalina.net.ServerSocketFactory
public java.net.ServerSocket createSocket(int port, int backlog) throws java.io.IOException
createSocket
in interface org.apache.catalina.net.ServerSocketFactory
public java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException
createSocket
in interface org.apache.catalina.net.ServerSocketFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |