public class SPNEGOSocket extends Socket
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
log |
| Constructor and Description |
|---|
SPNEGOSocket() |
SPNEGOSocket(InetAddress address,
int port) |
SPNEGOSocket(InetAddress address,
int port,
InetAddress localAddr,
int localPort) |
SPNEGOSocket(String host,
int port) |
SPNEGOSocket(String host,
int port,
InetAddress localAddr,
int localPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout)
Tries to establish a
GSSContext with the server using the tokens. |
protected PrivilegedAction<Object> |
getPrivilegedAction()
Instantiates a
PrivilegedAction. |
protected Subject |
login()
Performs a JAAS login on the client side.
|
protected void |
logout()
Performs a JAAS logout on the client side.
|
bind, close, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toStringpublic SPNEGOSocket()
Socket.Socket()public SPNEGOSocket(InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionSocket.Socket(InetAddress, int, InetAddress, int)public SPNEGOSocket(InetAddress address, int port) throws IOException
IOExceptionSocket.Socket(InetAddress, int)public SPNEGOSocket(String host, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionSocket.Socket(String, int, InetAddress, int)public SPNEGOSocket(String host, int port) throws UnknownHostException, IOException
UnknownHostExceptionIOExceptionSocket.Socket(String, int)public void connect(SocketAddress endpoint) throws IOException
connect in class SocketIOExceptionSocket.connect(SocketAddress)public void connect(SocketAddress endpoint, int timeout) throws IOException
GSSContext with the server using the tokens.connect in class SocketIOExceptionSocket.connect(SocketAddress, int)protected Subject login() throws LoginException
SubjectLoginException - if the login failsprotected void logout()
throws LoginException
LoginException - if the logout failsprotected PrivilegedAction<Object> getPrivilegedAction()
PrivilegedAction.PrivilegedAction implementation that will establish the GSSContextCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.