javax.naming.AuthenticationException

GSSAPI [Root exception is javax.security.sasl.SaslException: Final handshake failed [Caused by GSSException: Token had invalid integrity check (Mechanism level: Corrupt checksum in Wrap token)]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web17

Stack trace

  • javax.naming.AuthenticationException: GSSAPI [Root exception is javax.security.sasl.SaslException: Final handshake failed [Caused by GSSException: Token had invalid integrity check (Mechanism level: Corrupt checksum in Wrap token)]] at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:150) at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2694) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82) at com.ricoh.test.LdapGSSApiTest.search(LdapGSSApiTest.java:199) at com.ricoh.test.JndiAction.run(LdapGSSApiTest.java:440) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:337) at com.ricoh.test.LdapGSSApiTest.search_gssapi(LdapGSSApiTest.java:189) at com.ricoh.test.LdapGSSApiTest.runTest(LdapGSSApiTest.java:111) at com.ricoh.test.ButtonTest$1.actionPerformed(ButtonTest.java:123) at jp.co.ricoh.dsdk.panel.Button.processActionEvent(Unknown Source) at jp.co.ricoh.dsdk.panel.Button.processEvent(Unknown Source) at jp.co.ricoh.dsdk.panel.Button.fire(Unknown Source) at jp.co.ricoh.dsdk.panel.Component$MultiEventHandlerImpl.exec(Unknown Source) at jp.co.ricoh.dsdk.core.manager.EventRunner$Dispatcher.processEvent(Unknown Source) at jp.co.ricoh.dsdk.core.manager.EventRunner$Dispatcher.run(Unknown Source) Caused by: javax.security.sasl.SaslException: Final handshake failed [Caused by GSSException: Token had invalid integrity check (Mechanism level: Corrupt checksum in Wrap token)] at com.sun.security.sasl.gsskerb.GssKrb5Client.doFinalHandshake(GssKrb5Client.java:310) at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:169) at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:114) ... 25 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,