|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
org.jboss.security.ssl.DomainServerSocketFactory
An implementation of ServerSocketFactory that creates SSL server sockets using the JSSE SSLContext and a JBossSX SecurityDomain for the KeyManagerFactory and TrustManagerFactory objects.
SSLContext
,
SecurityDomain
(src) Constructor Summary | |
DomainServerSocketFactory()
A default constructor for use when created by Class.newInstance. |
|
DomainServerSocketFactory(SecurityDomain (src) securityDomain)
Create a socket factory instance that uses the given SecurityDomain as the source for the SSL KeyManagerFactory and TrustManagerFactory. |
Method Summary | |
java.net.ServerSocket |
createServerSocket(int port)
|
java.net.ServerSocket |
createServerSocket(int port,
int backlog)
|
java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog. |
java.lang.String |
getBindAddress()
|
static javax.net.ServerSocketFactory |
getDefault()
The default ServerSocketFactory which looks to the java:/jaas/other security domain configuration. |
java.lang.String[] |
getDefaultCipherSuites()
|
SecurityDomain (src) |
getSecurityDomain()
|
java.lang.String[] |
getSupportedCipherSuites()
|
boolean |
isNeedsClientAuth()
|
boolean |
isWantsClientAuth()
|
void |
setBindAddress(java.lang.String host)
|
void |
setNeedsClientAuth(boolean needsClientAuth)
|
void |
setSecurityDomain(SecurityDomain (src) securityDomain)
|
void |
setWantsClientAuth(boolean wantsClientAuth)
|
Methods inherited from class javax.net.ServerSocketFactory |
createServerSocket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DomainServerSocketFactory()
public DomainServerSocketFactory(SecurityDomain (src) securityDomain) throws java.io.IOException
Method Detail |
public java.lang.String getBindAddress()
public void setBindAddress(java.lang.String host) throws java.net.UnknownHostException
java.net.UnknownHostException
public SecurityDomain (src) getSecurityDomain()
public void setSecurityDomain(SecurityDomain (src) securityDomain)
public boolean isWantsClientAuth()
public void setWantsClientAuth(boolean wantsClientAuth)
public boolean isNeedsClientAuth()
public void setNeedsClientAuth(boolean needsClientAuth)
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
java.io.IOException
public java.net.ServerSocket createServerSocket(int port, int backlog) throws java.io.IOException
java.io.IOException
public java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException
port
- the port to listen tobacklog
- how many connections are queuedifAddress
- the network interface address to use
java.io.IOException
- for networking errorspublic static javax.net.ServerSocketFactory getDefault()
public java.lang.String[] getDefaultCipherSuites()
public java.lang.String[] getSupportedCipherSuites()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |