Package org.globus.gsi.gssapi.net.impl
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:
java.io.Closeable,java.lang.AutoCloseable
public class GSIGssSocket extends GssSocket
-
-
Field Summary
-
Fields inherited from class org.globus.gsi.gssapi.net.GssSocket
authorization, clientMode, context, GSI_MODE, in, mode, out, SSL_MODE
-
Fields inherited from class org.globus.net.WrappedSocket
socket
-
-
Constructor Summary
Constructors Constructor Description GSIGssSocket(java.lang.String host, int port, org.ietf.jgss.GSSContext context)GSIGssSocket(java.net.Socket socket, org.ietf.jgss.GSSContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetWrapMode()protected byte[]readToken()voidsetWrapMode(int mode)protected voidwriteToken(byte[] token)-
Methods inherited from class org.globus.gsi.gssapi.net.GssSocket
authenticateClient, authenticateServer, close, getAuthorization, getClientMode, getContext, getInputStream, getOutputStream, setAuthorization, setUseClientMode, startHandshake
-
Methods inherited from class org.globus.net.WrappedSocket
getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getPort, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getWrappedSocket, setKeepAlive, setReceiveBufferSize, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, shutdownInput, shutdownOutput, toString
-
Methods inherited from class java.net.Socket
bind, connect, connect, getChannel, getLocalSocketAddress, getOOBInline, getOption, getRemoteSocketAddress, getReuseAddress, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setOption, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, supportedOptions
-
-
-
-
Method Detail
-
setWrapMode
public void setWrapMode(int mode)
- Overrides:
setWrapModein classGssSocket
-
getWrapMode
public int getWrapMode()
- Overrides:
getWrapModein classGssSocket
-
writeToken
protected void writeToken(byte[] token) throws java.io.IOException- Specified by:
writeTokenin classGssSocket- Throws:
java.io.IOException
-
-