I'm following this blog post: http://blog.springsource.com/2009/09/28/spring-security-kerberos/
It says:
For this to work, every web applications needs to be registered at the Kerberos server and gets a service prinicipal and a shared secret assigned. For web applications, the service principal must be "HTTP/@DOMAIN". For example "HTTP/web.springsource.com@SPRINGSOURCE.COM", if your app runs on web.springsource.com.
I have a 2k8 server on which I need to generate the ktpass. I access my application on this as http://localhost:8080/myapp
So in my case what would be my Service Principal and Domain? Is there a way to find out what the domain name is from command prompt of the 2k8 server?
Also, I loginto the box using Administrator username and deploy the app with this as well. So I'll generate the keytab file for Administrator right?