Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

JDBC with Single Sign On

$
0
0

Hi SCN,

 

I try to initiate a raw JDBC connection with the use of SSO authentication.

 

I tried something like this, but the connection still fails with invalid username or password.

 

    Class.forName("com.sap.db.jdbc.Driver");
    Properties props=new Properties();
    props.setProperty("nativeAuthentication", "true");
    props.setProperty("authentication","DatabaseMapping");
    Connection con=DriverManager.getConnection("jdbc:sap://10.0.0.1:31000",props);

 

Has someone have a hint ?

 

Regards

Volker


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>