Skip to Content
avatar image
Former Member

JDBC with Single Sign On


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("");     Properties props=new Properties();     props.setProperty("nativeAuthentication", "true");     props.setProperty("authentication","DatabaseMapping");     Connection con=DriverManager.getConnection("jdbc:sap://",props);

Has someone have a hint ?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 08, 2015 at 10:30 AM

    Dear Volker,

    You have to check differnt setting for SSO in HANA.

    Please go through below link you may get idea to point out the root cause.

    Lessons learned setting up End-2-End SSO with Kerberos between BI and HANA

    Configuring Single Sign-on for SAP HANA

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Atul,

      thanks for you reply. I already went through those documents, but the problem is, that I dont want to create a connection in a BI environment. I want to use the connection in a native JAVA environment.

      I mean working with the HANA Studio, I only have to click on 'Authentication by current operating system user' and everything works out of the box without setting any paths or create additional files.