File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

kerberos/spnego authentication without keytab file

 
rutuja patil
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With spring can we use kerberos/spnego authentication in application without keytab file?

Thanks.
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rutuja patil wrote:With spring can we use kerberos/spnego authentication in application without keytab file?

Thanks.


No, keytab file is essential to establish the Trust relationship. URL for some reading on Kerberos with Spring.
 
rutuja patil
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
Pat Gonzalez
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It is true that Spring's spnego auth can only be used with a keytab.

However, to be more precise, a keytab is NOT essential nor required for Kerberos authentication.

It seems that according to the spec, shared secrets are handled at the protocol level (http://tools.ietf.org/html/rfc4120).

For example, the KDC necessarily knows the password for both the client and the server.

Hence, the shared secret problem is solved.

Here's an open source project that enables single sign-on for java web apps that does not require a keytab:

http://spnego.sourceforge.net

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic