code: public final int getLoginTimeout() throws SQLException {
          try {
              if(!Driver.class.equals(type)) {
                  return ((CommonDataSource) dataSourceOrDriver).getLoginTimeout();
              }
              //Return that the default value is being used when using the Driver type
              return 0;
          } catch (SQLException sqlX) {
              FFDCFilter.processException(sqlX, getClass().getName(), "1670", this);
              throw AdapterUtil.mapSQLException(sqlX, this);
          }
      }
docs: Retrieves the login timeout for the DataSource.
  
  @return the login timeout for the DataSource.