public class SignonConnection extends HostServerConnection
HostServerConnection.HostInputStream, HostServerConnection.HostOutputStream
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SIGNON_SERVER_PORT
The default TCP/IP port the Signon host server listens on.
|
static int |
DEFAULT_SSL_SIGNON_SERVER_PORT |
in_, out_
Modifier and Type | Method and Description |
---|---|
void |
authenticate(java.lang.String user,
java.lang.String password)
Issues a request to the Signon host server to authenticate the specified user and password.
|
static SignonConnection |
getConnection(boolean isSSL,
java.lang.String system,
java.lang.String user,
java.lang.String password)
Connects to the Signon host server on the default port and authenticates the specified user.
|
static SignonConnection |
getConnection(boolean isSSL,
java.lang.String system,
java.lang.String user,
java.lang.String password,
int signonPort)
Connects to the Signon host server on the specified port and authenticates the specified user.
|
static SignonConnection |
getConnection(java.lang.String system,
java.lang.String user,
java.lang.String password)
Connects to the Signon host server on the default port and authenticates the specified user.
|
static SignonConnection |
getConnection(java.lang.String system,
java.lang.String user,
java.lang.String password,
int signonPort)
Connects to the Signon host server on the specified port and authenticates the specified user.
|
protected void |
sendEndJobRequest() |
close, connect, finalize, getBytesReceived, getBytesSent, getEncryptedPassword, getInfo, getJobName, getUser, isClosed, isDatastreamDebug, isDefaultDatastreamDebug, setDatastreamDebug, setDefaultDatastreamDebug, writePadEBCDIC, writePadEBCDIC10, writeStringToUnicodeBytes
public static final int DEFAULT_SIGNON_SERVER_PORT
PortMapper
class to determine the port.public static final int DEFAULT_SSL_SIGNON_SERVER_PORT
protected void sendEndJobRequest() throws java.io.IOException
sendEndJobRequest
in class HostServerConnection
java.io.IOException
public void authenticate(java.lang.String user, java.lang.String password) throws java.io.IOException
java.io.IOException
public static SignonConnection getConnection(java.lang.String system, java.lang.String user, java.lang.String password) throws java.io.IOException
java.io.IOException
public static SignonConnection getConnection(boolean isSSL, java.lang.String system, java.lang.String user, java.lang.String password) throws java.io.IOException
java.io.IOException
public static SignonConnection getConnection(java.lang.String system, java.lang.String user, java.lang.String password, int signonPort) throws java.io.IOException
java.io.IOException
public static SignonConnection getConnection(boolean isSSL, java.lang.String system, java.lang.String user, java.lang.String password, int signonPort) throws java.io.IOException
java.io.IOException