DriverManager.GetConnection() accepts three variants of user authentication detail:
Connection con = DriverManager.getConnection (url, "ADMIN" "ADMIN" );
Connection con = DriverManager.getConnection (url, prop );
Note that the FairCom DB SQL JDBC Driver expects the keys of the Properties object to be named user and password when it processes the object. Application code must use those names when it populates the Properties object:
prop.put("user", userid);
prop.put("password", passwd);
Connection con = DriverManager.getConnection (url);