The hibernate.connection.driver_class
only supports user/password authentication modes.
As explained here, this is what you should use instead:
String url = "jdbc:oracle:thin:@oracleserver.mydomain.com:5521:dbja"
Driver driver = new oracle.jdbc.OracleDriver();
DriverManager.registerDriver(driver);
Properties props = new Properties();
Connection conn = DriverManager.getConnection( url, props );
You can use a custom Hibernate ConnectionProvider
that does this or create a custom DataSource
that you provide via the hibernate.connection.datasource
property using programmatic boostrap or JNDI.