When trying to connect to 12c database with client or database which is lesser than 11g , it rejects the connection with below error.
An unknown error has occurred. The provided message is "Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-28040: No matching authentication protocol ".
To fix such error , we just need to add the following the parameter in sqlnet.ora file in $ORACLE_HOME/network/admin and restart the listener , that's it , all good :)
SQLNET.ALLOWED_LOGON_VERSION=8
An unknown error has occurred. The provided message is "Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-28040: No matching authentication protocol ".
To fix such error , we just need to add the following the parameter in sqlnet.ora file in $ORACLE_HOME/network/admin and restart the listener , that's it , all good :)
SQLNET.ALLOWED_LOGON_VERSION=8