'Authorities required to create a connection by JT400 without supplying username/password
What authorities are required to create a connection by AS400JDBCDriver.connect() without supplying username/password.
Trying to create a JDBC connection by using jt400 APIs without supplying the username/password as:
AS400 system = new AS400();
AS400JDBCDriver driver = new AS400JDBCDriver();
Properties prop = new Properties();
prop.setProperty("translate binary", "true");
prop.setProperty("prompt", "false");
prop.setProperty("naming", "sql");
String schema = "MySchema";
connection = driver.connect(system, prop, xref);
Details: If running on IBM i, the target is the local system. This has the same effect as using localhost for the system name, *CURRENT for the user ID, and *CURRENT for the password.
com.ibm.as400.access.AS400
I am getting the exception:
java.sql.SQLException: The application server rejected the connection. (User ID is disabled
So my question is:
What authorities are required to create a connection by AS400JDBCDriver.connect() without supplying username/password??
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
