GSIServerSocket (Java Globus API)
org.globus.security.gsi
Class GSIServerSocket
java.lang.Object
|
+--java.net.ServerSocket
|
+--org.globus.security.gsi.GSIServerSocket
- public class GSIServerSocket
- extends java.net.ServerSocket
| Methods inherited from class java.net.ServerSocket |
bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
credentials
protected GlobusProxy credentials
trustedCerts
protected java.security.cert.X509Certificate[] trustedCerts
factory
protected GSISocketFactory factory
GSIServerSocket
public GSIServerSocket(int port)
throws java.io.IOException
setCredentials
public void setCredentials(GlobusProxy credentials)
getCredentials
public GlobusProxy getCredentials()
setTrustedCertificates
public void setTrustedCertificates(java.security.cert.X509Certificate[] trustedCerts)
getTrustedCertificates
public java.security.cert.X509Certificate[] getTrustedCertificates()
accept
public java.net.Socket accept()
throws java.io.IOException
- Overrides:
accept in class java.net.ServerSocket
java.io.IOException