public class SecureAS400 extends AS400
Modifier and Type | Field and Description |
---|---|
static boolean |
changeCipherSuites
Indicate whether the cipher suites changed by the caller.
|
static int |
CLIENT_TO_PROXY_SERVER
Constant indicating that encryption should only be done on the connection between the client and the proxy server.
|
static int |
CLIENT_TO_SERVER
Constant indicating that encryption should be done in both the connection between the client and the proxy server and the connection between the proxy server and the system.
|
static int |
CLINT_TO_SERVER
Deprecated.
Use CLIENT_TO_SERVER instead.
|
static java.lang.String[] |
newCipherSuites |
static int |
PROXY_SERVER_TO_SERVER
Constant indicating that encryption should only be done on the connection between the proxy server and the system.
|
aspName, AUTHENTICATION_SCHEME_DDM_EUSERIDPWD, AUTHENTICATION_SCHEME_GSS_TOKEN, AUTHENTICATION_SCHEME_IDENTITY_TOKEN, AUTHENTICATION_SCHEME_PASSWORD, AUTHENTICATION_SCHEME_PROFILE_TOKEN, bidiAS400Text, bidiAS400Varchar, CENTRAL, COMMAND, currentLib_, DATABASE, DATAQUEUE, FILE, GSS_OPTION_FALLBACK, GSS_OPTION_MANDATORY, GSS_OPTION_NONE, librariesForThread_, PRINT, RECORDACCESS, SIGNON, USE_PORT_MAPPER
Constructor and Description |
---|
SecureAS400()
Constructs a SecureAS400 object.
|
SecureAS400(AS400 system)
Constructs a SecureAS400 object.
|
SecureAS400(java.lang.String systemName)
Constructs a SecureAS400 object.
|
SecureAS400(java.lang.String systemName,
ProfileTokenCredential profileToken)
Constructs a SecureAS400 object.
|
SecureAS400(java.lang.String systemName,
java.lang.String userId)
Constructs a SecureAS400 object.
|
SecureAS400(java.lang.String systemName,
java.lang.String userId,
char[] password)
Constructs a SecureAS400 object.
|
SecureAS400(java.lang.String systemName,
java.lang.String userId,
char[] password,
java.lang.String proxyServer)
Constructs a SecureAS400 object.
|
SecureAS400(java.lang.String systemName,
java.lang.String userId,
java.lang.String password)
Deprecated.
|
SecureAS400(java.lang.String systemName,
java.lang.String userId,
java.lang.String password,
java.lang.String proxyServer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addPasswordCacheEntry(java.lang.String systemName,
java.lang.String userId,
char[] password)
Validates the user ID and password against the system, and if successful, adds the information to the password cache.
|
static void |
addPasswordCacheEntry(java.lang.String systemName,
java.lang.String userId,
char[] password,
java.lang.String proxyServer)
Validates the user ID and password against the system, and if successful, adds the information to the password cache.
|
static void |
addPasswordCacheEntry(java.lang.String systemName,
java.lang.String userId,
java.lang.String password)
Deprecated.
|
static void |
addPasswordCacheEntry(java.lang.String systemName,
java.lang.String userId,
java.lang.String password,
java.lang.String proxyServer)
Deprecated.
|
java.lang.String |
getKeyRingName()
Deprecated.
|
int |
getProxyEncryptionMode()
Returns the proxy encryption mode.
|
void |
setEnabledCipherSuites(java.lang.String[] suites) |
void |
setKeyRingName(java.lang.String keyRingName)
Sets the key ring class name used for SSL communications with the system.
|
void |
setKeyRingName(java.lang.String keyRingName,
java.lang.String keyRingPassword)
Sets the key ring class name used for SSL communications with the system.
|
void |
setKeyRingPassword(java.lang.String keyRingPassword)
Deprecated.
|
void |
setProxyEncryptionMode(int proxyEncryptionMode)
Sets the proxy encryption mode.
|
addConnectionListener, addPropertyChangeListener, addVetoableChangeListener, arePropertiesFrozen, authenticate, authenticate, canUseNativeOptimizations, changePassword, changePassword, clearPasswordCache, clearPasswordCache, connectService, connectService, connectToPort, connectToPort, disconnectAllServices, disconnectService, generateProfileToken, generateVRM, getAuthenticationScheme, getBidiStringType, getCcsid, getDDMRDB, getDefaultSignonHandler, getDefaultTimeZone, getDefaultUser, getGSSName, getGSSOption, getImpl, getJobCCSIDEncoding, getJobs, getLocale, getModification, getNLV, getPasswordExpirationDate, getPasswordExpirationDays, getPasswordExpirationWarningDays, getPreviousSignonDate, getProfileToken, getProfileToken, getProfileToken, getProfileToken, getProfileToken, getProfileToken, getProxyServer, getRelease, getServerName, getServicePort, getSignonDate, getSignonHandler, getSocketProperties, getSystemName, getSystemPasswordExpirationWarningDays, getSystemTimeZone, getTimeZone, getUserId, getUserId, getvalidateSignonTimeOut, getVersion, getVRM, initializeConverter, isConnected, isConnected, isConnectionAlive, isConnectionAlive, isGuiAvailable, isInPasswordExpirationWarningDays, isLocal, isMustAddLanguageLibrary, isMustUseNetSockets, isMustUseSockets, isMustUseSuppliedProfile, isShowCheckboxes, isThreadUsed, isTurkish, isUseDefaultUser, isUsePassphrase, isUsePasswordCache, passwordLevel, removeConnectionListener, removeDefaultUser, removePasswordCacheEntry, removePropertyChangeListener, removeVetoableChangeListener, resetAllServices, setBidiStringType, setCcsid, setDDMRDB, setDefaultSignonHandler, setDefaultUser, setGSSCredential, setGSSManager, setGSSName, setGSSOption, setGuiAvailable, setIASPGroup, setIASPGroup, setIASPGroup, setIASPGroup, setIdentityToken, setLocale, setLocale, setMustAddLanguageLibrary, setMustUseNetSockets, setMustUseSockets, setMustUseSuppliedProfile, setPassword, setPassword, setPasswordExpirationWarningDays, setProfileToken, setProxyServer, setServicePort, setServicePortsToDefault, setShowCheckboxes, setSignonHandler, setSocketProperties, setSystemName, setThreadUsed, setUseDefaultUser, setUsePasswordCache, setUserId, setUseSystemPasswordExpirationWarningDays, setvalidateSignonTimeOut, toString, validateSignon, validateSignon, validateSignon, validateSignon, validateSignon
public static final int CLIENT_TO_PROXY_SERVER
public static final int PROXY_SERVER_TO_SERVER
public static final int CLINT_TO_SERVER
public static final int CLIENT_TO_SERVER
public static boolean changeCipherSuites
public static java.lang.String[] newCipherSuites
public SecureAS400()
public SecureAS400(java.lang.String systemName)
systemName
- The name of the system.public SecureAS400(java.lang.String systemName, java.lang.String userId)
systemName
- The name of the system.userId
- The user profile name to use to authenticate to the system.public SecureAS400(java.lang.String systemName, ProfileTokenCredential profileToken)
systemName
- The name of the system. Use localhost to access data locally.profileToken
- The profile token to use to authenticate to the system.public SecureAS400(java.lang.String systemName, java.lang.String userId, java.lang.String password)
systemName
- The name of the system.userId
- The user profile name to use to authenticate to the system.password
- The user profile password to use to authenticate to the system.public SecureAS400(java.lang.String systemName, java.lang.String userId, char[] password)
systemName
- The name of the system.userId
- The user profile name to use to authenticate to the system.password
- The user profile password to use to authenticate to the system.public SecureAS400(java.lang.String systemName, java.lang.String userId, java.lang.String password, java.lang.String proxyServer)
systemName
- The name of the system.userId
- The user profile name to use to authenticate to the system.password
- The user profile password to use to authenticate to the system.proxyServer
- The name and port in the format serverName[:port]
. If no port is specified, a default will be used.public SecureAS400(java.lang.String systemName, java.lang.String userId, char[] password, java.lang.String proxyServer)
systemName
- The name of the system.userId
- The user profile name to use to authenticate to the system.password
- The user profile password to use to authenticate to the system.proxyServer
- The name and port in the format serverName[:port]
. If no port is specified, a default will be used.public SecureAS400(AS400 system)
system
- A previously instantiated AS400 or SecureAS400 object.public static void addPasswordCacheEntry(java.lang.String systemName, java.lang.String userId, java.lang.String password) throws AS400SecurityException, java.io.IOException
systemName
- The name of the system.userId
- The user profile name.password
- The user profile password.AS400SecurityException
- If a security or authority error occurs.java.io.IOException
- If an error occurs while communicating with the system.public static void addPasswordCacheEntry(java.lang.String systemName, java.lang.String userId, char[] password) throws AS400SecurityException, java.io.IOException
systemName
- The name of the system.userId
- The user profile name.password
- The user profile password.AS400SecurityException
- If a security or authority error occurs.java.io.IOException
- If an error occurs while communicating with the system.public static void addPasswordCacheEntry(java.lang.String systemName, java.lang.String userId, java.lang.String password, java.lang.String proxyServer) throws AS400SecurityException, java.io.IOException
systemName
- The name of the system.userId
- The user profile name.password
- The user profile password.proxyServer
- The name and port in the format serverName[:port]
. If no port is specified, a default will be used.AS400SecurityException
- If a security or authority error occurs.java.io.IOException
- If an error occurs while communicating with the system.public static void addPasswordCacheEntry(java.lang.String systemName, java.lang.String userId, char[] password, java.lang.String proxyServer) throws AS400SecurityException, java.io.IOException
systemName
- The name of the system.userId
- The user profile name.password
- The user profile password.proxyServer
- The name and port in the format serverName[:port]
. If no port is specified, a default will be used.AS400SecurityException
- If a security or authority error occurs.java.io.IOException
- If an error occurs while communicating with the system.public java.lang.String getKeyRingName()
public int getProxyEncryptionMode()
public void setKeyRingName(java.lang.String keyRingName) throws java.beans.PropertyVetoException
keyRingName
- The key ring class name.java.beans.PropertyVetoException
- If any of the registered listeners vetos the property change.public void setKeyRingName(java.lang.String keyRingName, java.lang.String keyRingPassword) throws java.beans.PropertyVetoException
keyRingName
- The key ring class name.keyRingPassword
- The password for the key ring class.java.beans.PropertyVetoException
- If any of the registered listeners vetos the property change.public void setKeyRingPassword(java.lang.String keyRingPassword)
keyRingPassword
- The password for the key ring class.public void setProxyEncryptionMode(int proxyEncryptionMode) throws java.beans.PropertyVetoException
CLIENT_TO_PROXY_SERVER
- encrypt between client and proxy server.
PROXY_SERVER_TO_SERVER
- encrypt between proxy server and IBM i system.
CLIENT_TO_SERVER
- encrypt both portions of connection.proxyEncryptionMode
- The proxy encryption mode.java.beans.PropertyVetoException
- If any of the registered listeners vetos the property change.public void setEnabledCipherSuites(java.lang.String[] suites)