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!

GSS Exception while authentication

843811Jul 3 2002 — edited Apr 19 2006
Hi
I am using a GSS Java client on windows 2000 to connect to a server (C++)running on windows 2000, and using the windows kdc.
Everything runs fine, and I am able to send the token obtained from initSecContext() to the server, which is interpreted correctly by the server.
However, when the server returns the token it gets on calling the acceptSecurityContext() to my client, the client fails with the following exception:
GSSException: Defective token detected (Mechanism level : AP_REP token id does not match!)
Whats going wrong? Any help would be appreciated.
Thanks
Sachin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2006
Added on Jul 3 2002
4 comments
1,239 views