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


Field Summary
protected  GlobusProxy credentials
           
protected  GSISocketFactory factory
           
protected  java.security.cert.X509Certificate[] trustedCerts
           
 
Constructor Summary
GSIServerSocket(int port)
           
 
Method Summary
 java.net.Socket accept()
           
 GlobusProxy getCredentials()
           
 java.security.cert.X509Certificate[] getTrustedCertificates()
           
 void setCredentials(GlobusProxy credentials)
           
 void setTrustedCertificates(java.security.cert.X509Certificate[] trustedCerts)
           
 
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
 

Field Detail

credentials

protected GlobusProxy credentials

trustedCerts

protected java.security.cert.X509Certificate[] trustedCerts

factory

protected GSISocketFactory factory
Constructor Detail

GSIServerSocket

public GSIServerSocket(int port)
                throws java.io.IOException
Method Detail

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