Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Integrity check on decrypted field failed (31)

843810Oct 27 2006
Hi,

Your help is really appreciated !

I have a client program and a web service running on Apache web service. Both running on the same machine. From the client program I can perfectly use Java GSS (JDK1.5-update_8) to fetch from the cache a tgt and do login to the KDC and so ...

ker5login.conf

login_client{
com.sun.security.auth.module.Krb5LoginModule required
useCache=true
useTicketCache=true
debug=true
storeKey = false
ticketCache="/tmp/krb5cc_500";
};

LoginContext lc = null;
lc = new LoginContext("login_client", new TextCallbackHandler());
lc.login();
..........

However when I use the same code to login to KDC from my running web service it comes with :

Integrity check on decrypted field failed (31)

In fact, what ever that I am trying to do on service side like decrypting a session key and so I get the same error message .

Anyone has any idea ?

Steve
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2006
Added on Oct 27 2006
0 comments
145 views