Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JDBC with Single Sign On

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

Former Member
Not what you were looking for? View more on this topic or Ask a question