Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC to SQL server integrated security help needed

zthielDec 17 2015 — edited Jan 12 2016

I am getting this error on our SLES linux server:

INFO   | jvm 1    | 2015/12/16 14:18:01 | Caused by: javax.security.auth.login.LoginException: unable to find LoginModule class: com.sun.security.auth.module.Krb5LoginModule not found from bundle.

Any thoughts or ideas of what to look at? We are connecting from a SLES 11 version to a Microsoft 2012 R2 server running Microsoft SQL Server 2012.

Additional background:

We have a SUSE linux server version 11 which we are trying to use integrated security over jdbc to connect to a Microsoft Windows 2012 R2 server running Microsoft SQL server 2012 SP2 and have an extremely hard time getting this working. We have a server.properties file, which when we have it contain the connection string with a username and password defined the server can connect to the DB server. However this is unacceptable per or security standards, and we want to implement integrated security within this server.properties file to remove the username and password.

Can someone please point me in the correct direction? I believe the connection string we have setup is correct.

## configured database configuration.
database.type      = mssqlsrv
database.url       = jdbc:sqlserver://SERVER01.DOMAIN.COM:5009;databaseName=xxxxxx;instanceName=xxxxxx;authenticationScheme=JavaKerberos;integratedSecurity=true
database.username  =
database.password  =

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2016
Added on Dec 17 2015
5 comments
2,848 views