-
Mar 10th, 2011, 08:40 PM
#1
Where to put krb5.ini when using SPENEGO Extension
I'm following the write up here:
http://blog.springsource.com/2009/09...rity-kerberos/
There's no reference to where one would store a krb5.ini file.
I don't see an object that stands out as a candidate for configuring.
Is there a class I need to configure? Or somehow with SPNEGO isn't a krb5.ini file required?
Thanks.
-
Mar 11th, 2011, 05:37 AM
#2
Typically krb5.ini would go in the Windows directory. It is possible to configure some attributes of the Java GSSAPI using Java system properties (-Dxx=yy). This article from Sun/Oracle describes in more detail how the GSSAPI finds the Kerberos configuration for your environment.
Peter Mularien | Blog
Author, Spring Security 3 (Book) - Packt Publishing, Available in print and eBook form
SCJP 5, Oracle DBA
Any postings are my own opinion, and should not be attributed to my employer or clients.
-
Mar 11th, 2011, 12:11 PM
#3
Thanks pmularien.
Um. Putting together a plan that requires storing a krb5.ini file in everyone's Windows folder in a Web application is a show stopper.
Is there a place where one can get SPENEGO specific tips on how to configure the krb5.ini file in one's WEB-INF folder and read it from the classpath? Whatever I do - setting a system property in my web application seems like a kludge.
-
Mar 11th, 2011, 07:33 PM
#4
Sorry, just to clarify - the krb5.ini file is only needed on the web application server (the server running Spr Sec)! It's assumed that users already have some method of Kerberos authentication - in a Windows domain, this is typically managed using Active Directory; in a Linux domain, you are typically running in a Kerberized environment, so all the machines would have Kerberos client software anyway.
Hope that helps!
Peter Mularien | Blog
Author, Spring Security 3 (Book) - Packt Publishing, Available in print and eBook form
SCJP 5, Oracle DBA
Any postings are my own opinion, and should not be attributed to my employer or clients.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules