Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to configure java program to use kerberos instead of NTLM

 
AnilP Kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am accessing a url through Java program. It is being authenticated using NTLM. But if i want my program to be authenticated using kerberos, what are the steps that i need to do?

This is the sample code,

URL u = new URL("http://localhost/test/test.jsp");
URLConnection uc = u.openConnection();
uc.connect();

Also, I shouldn't use JAAS for authentication.

Thanks,
Anil
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article describes how to use Kerberos over HTTP. It does use JAAS as well, but you should to replace it using your favorite authentication mechanism.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!