Kerberos & jcifs
I am developing a single sign-on module for our company's Intranet site. I am using jcfis extended version, which supports Kerberos authentication. It requires a krb5.ini file in c:/winnt directory. I am using AuthenticationFilter class which will autheticate a request. I have Tomcat on my machine and the main server is situated somewhere else, where the Kerberos is installed. When I am running my tomcat and opening page from my system, which has Tomcat, its running successfully, but when I am opening same page from other system, which is within the same domain, throwing an exception
"jcifs.spnego.AuthenticationException: Error performing Kerberos authentication:
java.lang.reflect.InvocationTargetException"
My C:/winnt/krb5.ini file:
-----------------------------------------------------------------------------
[libdefaults]
default_realm = IGGLOBAL.COM
kdc_timesync = 1
ccache_type = 4
ticket_lifetime = 36000
default_tkt_enctypes = rc4-hmac des3-hmac-sha1 des-cbc-crc
default_tgs_enctypes = rc4-hmac des3-hmac-sha1 des-cbc-crc
dns_lookup_kdc = true
dns_lookup_realm = false
[domain_realm]
.igglobal.com = IGGLOBAL.COM
[realms]
IGGLOBAL.COM = {
kdc = 172.18.65.36:88
}
login = {
forwardable = true
krb5_run_aklog = true
krb5_get_tickets = true
}
[appdefaults]
autologin = true
forward = true
forwardable = true
encrypt = true
useKeyTab=false
I am using Java 6.
I don't know what should I do? Please help me, if any one can.