Class GSIGssSocket
java.lang.Object
java.net.Socket
org.globus.net.WrappedSocket
org.globus.gsi.gssapi.net.GssSocket
org.globus.gsi.gssapi.net.impl.GSIGssSocket
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields inherited from class GssSocket
authorization, clientMode, context, GSI_MODE, in, mode, out, SSL_MODEFields inherited from class WrappedSocket
socket -
Constructor Summary
ConstructorsConstructorDescriptionGSIGssSocket(String host, int port, GSSContext context) GSIGssSocket(Socket socket, GSSContext context) -
Method Summary
Modifier and TypeMethodDescriptionintprotected byte[]voidsetWrapMode(int mode) protected voidwriteToken(byte[] token) Methods inherited from class GssSocket
authenticateClient, authenticateServer, close, getAuthorization, getClientMode, getContext, getInputStream, getOutputStream, setAuthorization, setUseClientMode, startHandshakeMethods inherited from class WrappedSocket
getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getPort, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getWrappedSocket, setKeepAlive, setReceiveBufferSize, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, shutdownInput, shutdownOutput, toStringMethods inherited from class Socket
bind, connect, connect, getChannel, getLocalSocketAddress, getOOBInline, getOption, getRemoteSocketAddress, getReuseAddress, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setOption, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, supportedOptions
-
Constructor Details
-
GSIGssSocket
- Throws:
IOException
-
GSIGssSocket
-
-
Method Details
-
setWrapMode
public void setWrapMode(int mode) - Overrides:
setWrapModein classGssSocket
-
getWrapMode
public int getWrapMode()- Overrides:
getWrapModein classGssSocket
-
writeToken
- Specified by:
writeTokenin classGssSocket- Throws:
IOException
-
readToken
- Specified by:
readTokenin classGssSocket- Throws:
IOException
-