|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.connection.BridgeServer
public class BridgeServer
A description of an IOM bridge protocol server. The default authentication
service for bridge servers is AUTH_SERVICE_HOST
.
Server.AUTH_SERVICE_HOST
,
Serialized FormField Summary | |
---|---|
static byte |
CURRENT_MAJOR_PROTOCOL_VERSION
Most recent Bridge Protocol major version |
static byte |
CURRENT_MINOR_PROTOCOL_VERSION
Most recent Bridge Protocol major version |
static java.lang.String |
ENCRYPTION_ALGORITHM_AES
A value for the encryption algorithms attribute indicating that AES encryption may be used. |
static java.lang.String |
ENCRYPTION_ALGORITHM_DES
A value for the encryption algorithms attribute indicating that DES encryption may be used. |
static java.lang.String |
ENCRYPTION_ALGORITHM_RC2
A value for the encryption algorithms attribute indicating that RC2 encryption may be used. |
static java.lang.String |
ENCRYPTION_ALGORITHM_RC4
A value for the encryption algorithms attribute indicating that RC4 encryption may be used. |
static java.lang.String |
ENCRYPTION_ALGORITHM_SASPROPRIETARY
A value for the encryption algorithms attribute indicating that sasproprietary encryption may be used. |
static java.lang.String |
ENCRYPTION_ALGORITHM_TRIPLEDES
A value for the encryption algorithms attribute indicating that TRIPLEDES encryption may be used. |
static java.lang.String |
ENCRYPTION_CONTENT_ALL
A value for the encryption content attribute indicating that all communication is encrypted. |
static java.lang.String |
ENCRYPTION_CONTENT_AUTHENTICATION
A value for the encryption content attribute indicating that only user name and password information is encrypted. |
static java.lang.String |
ENCRYPTION_POLICY_NONE
A value for the encryption policy attribute indicating that no communication with the server will be encrypted. |
static java.lang.String |
ENCRYPTION_POLICY_OPTIONAL
A value for the encryption policy attribute indicating that communication with the server will be encrypted if the server supports an encryption algorithm supported by the client. |
static java.lang.String |
ENCRYPTION_POLICY_REQUIRED
A value for the encryption policy attribute indicating that communication with the server will be encrypted if the server supports an encryption algorithm supported by the client. |
Constructor Summary | |
---|---|
BridgeServer(java.lang.String classID,
java.lang.String host,
int port)
Construct an object describing an IOM server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object that)
|
protected java.lang.String |
getApplicationName()
|
java.lang.String |
getEncryptionAlgorithms()
Get the encryption algorithms. |
java.lang.String |
getEncryptionContent()
Get the encryption content. |
java.lang.String |
getEncryptionPolicy()
Get the encryption policy. |
java.lang.Byte |
getMajor()
Get the major protocol version. |
java.lang.Byte |
getMinor()
Get the minor protocol version. |
java.lang.String |
getNormalizedEncryptionAlgorithms()
Get the normalized encryption algorithm list. |
java.lang.String |
getSASVersionID()
Get the version ID for the server. |
java.lang.String |
getServerName()
Get the server name. |
int |
hashCode()
|
static java.lang.String |
normalizeEncryptionAlgorithms(java.lang.String encryptionAlgorithms)
Normalizes a value for encryption algorithms. |
protected void |
setApplicationName(java.lang.String applicationName)
|
void |
setEncryptionAlgorithms(java.lang.String encryptionAlgorithms)
Set the encryption algorithms. |
void |
setEncryptionContent(java.lang.String encryptionContent)
Set the encryption content. |
void |
setEncryptionPolicy(java.lang.String encryptionPolicy)
Set the encryption policy. |
void |
setMajor(java.lang.Byte major)
Set the major protocol version. |
void |
setMinor(java.lang.Byte minor)
Set the minor protocol version. |
void |
setSASVersionID(java.lang.String sasVersionID)
Set the version ID for the server. |
void |
setServerName(java.lang.String serverName)
Set the server name. |
static void |
validateEncryptionContent(java.lang.String encryptionContent)
Checks the value for encryption content to make sure it is one of the valid values. |
static void |
validateEncryptionPolicy(java.lang.String encryptionPolicy)
Checks the value for encryption policy to make sure it is one of the valid values. |
Methods inherited from class com.sas.services.connection.TCPIPServer |
---|
getHost, getNormalizedHost, getPort, setHost, setPort |
Field Detail |
---|
public static final java.lang.String ENCRYPTION_POLICY_REQUIRED
setEncryptionPolicy(java.lang.String)
,
getEncryptionPolicy()
,
Constant Field Valuespublic static final java.lang.String ENCRYPTION_POLICY_OPTIONAL
ENCRYPTION_POLICY_REQUIRED
.
setEncryptionPolicy(java.lang.String)
,
getEncryptionPolicy()
,
Constant Field Valuespublic static final java.lang.String ENCRYPTION_POLICY_NONE
ENCRYPTION_POLICY_REQUIRED
.
setEncryptionPolicy(java.lang.String)
,
getEncryptionPolicy()
,
Constant Field Valuespublic static final java.lang.String ENCRYPTION_CONTENT_ALL
setEncryptionContent(java.lang.String)
,
getEncryptionContent()
,
Constant Field Valuespublic static final java.lang.String ENCRYPTION_CONTENT_AUTHENTICATION
setEncryptionContent(java.lang.String)
,
getEncryptionContent()
,
Constant Field Valuespublic static final java.lang.String ENCRYPTION_ALGORITHM_SASPROPRIETARY
public static final java.lang.String ENCRYPTION_ALGORITHM_RC2
public static final java.lang.String ENCRYPTION_ALGORITHM_RC4
public static final java.lang.String ENCRYPTION_ALGORITHM_DES
public static final java.lang.String ENCRYPTION_ALGORITHM_TRIPLEDES
public static final java.lang.String ENCRYPTION_ALGORITHM_AES
public static final byte CURRENT_MAJOR_PROTOCOL_VERSION
public static final byte CURRENT_MINOR_PROTOCOL_VERSION
Constructor Detail |
---|
public BridgeServer(java.lang.String classID, java.lang.String host, int port)
classID
- the ID of the class to instantiate on the IOM server.host
- the IP name or address of the machine hosting the IOM server.port
- the TCP port number where the server is listening for connections.Method Detail |
---|
public void setEncryptionPolicy(java.lang.String encryptionPolicy)
ENCRYPTION_POLICY_*
fields. The
default value is ENCRYPTION_POLICY_REQUIRED
encryptionPolicy
- the encryption policy
java.lang.IllegalArgumentException
- if the value is
not one of the ENCRYPTION_POLICY_*
fieldsENCRYPTION_POLICY_REQUIRED
,
ENCRYPTION_POLICY_OPTIONAL
,
ENCRYPTION_POLICY_NONE
public java.lang.String getEncryptionPolicy()
ENCRYPTION_POLICY_REQUIRED
,
ENCRYPTION_POLICY_OPTIONAL
,
ENCRYPTION_POLICY_NONE
,
setEncryptionPolicy(java.lang.String)
public void setEncryptionContent(java.lang.String encryptionContent)
ENCRYPTION_CONTENT_*
fields. The default value
is ENCRYPTION_CONTENT_AUTHENTICATION
.
encryptionContent
- the encryption content
java.lang.IllegalArgumentException
- if the value is
not one of the ENCRYPTION_CONTENT_*
fieldsENCRYPTION_CONTENT_ALL
,
ENCRYPTION_CONTENT_AUTHENTICATION
public java.lang.String getEncryptionContent()
setEncryptionContent(java.lang.String)
,
ENCRYPTION_CONTENT_ALL
,
ENCRYPTION_CONTENT_AUTHENTICATION
public void setEncryptionAlgorithms(java.lang.String encryptionAlgorithms)
ENCRYPTION_ALGORITHM_SASPROPRIETARY
,
SAS/SECURE software must be installed on both the
client and server.
Furthermore, government import and export restrictions may limit the
countries in which SAS/SECURE is available.
The value for this attribute may be a comma-separated list of more than one algorithm. The connection will use the first algorithm on this list that is also supported by the server. If no value is specified, the connection will use the first value suggested by the server that the client is capable of supporting.
The value of this attribute is not checked for validity because it is possible to extend the list of supported algorithms in the field although no such extensions are currently available.
encryptionAlgorithms
- the encryption algorithmsENCRYPTION_ALGORITHM_SASPROPRIETARY
,
ENCRYPTION_ALGORITHM_RC2
,
ENCRYPTION_ALGORITHM_RC4
,
ENCRYPTION_ALGORITHM_DES
,
ENCRYPTION_ALGORITHM_AES
,
ENCRYPTION_ALGORITHM_TRIPLEDES
public java.lang.String getEncryptionAlgorithms()
null
.
setEncryptionAlgorithms(java.lang.String)
,
ENCRYPTION_ALGORITHM_SASPROPRIETARY
,
ENCRYPTION_ALGORITHM_RC2
,
ENCRYPTION_ALGORITHM_RC4
,
ENCRYPTION_ALGORITHM_DES
,
ENCRYPTION_ALGORITHM_AES
,
ENCRYPTION_ALGORITHM_TRIPLEDES
public java.lang.String getNormalizedEncryptionAlgorithms()
null
.
public java.lang.Byte getMajor()
public void setMajor(java.lang.Byte major)
major
- the major protocol versionpublic java.lang.Byte getMinor()
public void setMinor(java.lang.Byte minor)
minor
- the minor protocol versionpublic java.lang.String getServerName()
public void setServerName(java.lang.String serverName)
serverName
- the server namepublic java.lang.String getSASVersionID()
public void setSASVersionID(java.lang.String sasVersionID)
sasVersionID
- the version ID for the server.public boolean equals(java.lang.Object that)
equals
in class TCPIPServer
public int hashCode()
hashCode
in class TCPIPServer
public static java.lang.String normalizeEncryptionAlgorithms(java.lang.String encryptionAlgorithms)
encryptionAlgorithms
- the original value
public static void validateEncryptionPolicy(java.lang.String encryptionPolicy)
encryptionPolicy
- the original value
java.lang.IllegalArgumentException
- if the value is
not validpublic static void validateEncryptionContent(java.lang.String encryptionContent)
encryptionContent
- the original value
java.lang.IllegalArgumentException
- if the value is
not validprotected void setApplicationName(java.lang.String applicationName)
protected java.lang.String getApplicationName()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |