I am trying to use SPNEGO + JBoss 7 + Windows 2008 R2 + JDK 7, but I am getting this exception:
Unable to authenticate - Failure unspecified at GSS-API level
(Mechanism level: Checksum failed)
I created the keytab:
ktpass -ptype KRB5_NT_PRINCIPAL -crypto All -princ HTTP/[email protected]
-mapuser win2008 -pass *** -out krb5.keytab
Any ideas why I get this error and how I can solve it?
I could resolve following this url: https://community.jboss.org/wiki/ConfiguringJBossNegotiationInAnAllWindowsDomain
but when I executed the ktpass I included this parameters:
-ptype KRB5_NT_PRINCIPAL -crypto All
ktpass -ptype KRB5_NT_PRINCIPAL -crypto All -princ HTTP/[email protected] -pass *** -mapuser MYDOMAIN\user_name
and then:
ktab -k krb5.keytab -n 0 -a HTTP/[email protected]