on 01-08-2015 8:51 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Regards
Volker
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.