ORA-28040: No matching authentication protocol I'm trying to connect to my RAC database using odbc drivers. While trying I get 


  ORA-28040: No matching authentication protocol


I have added this in both client and the server:

SQLNET.ALLOWED_LOGON_VERSION=8 


I have also tried by replacing the above mentioned deprecated parameter with the server and client. I still get the same error.

More details:


Database version 12c
Client version 12c
This may be Oracle client/server version compatibility issue.


  From java.sql.SQLException: ORA-28040: No matching authentication protocol  
  
  
    This happens because you are using a non compatible version of JDBC driver.
    
    To resolve this issue, make sure that you are using the latest version of Oracle JDBC driver, if not use JDBC 12c or higher versions.