hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From komaliMathews <komali.konakan...@gmail.com>
Subject GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos Ticket)
Date Mon, 18 Jul 2011 07:15:14 GMT

Hi,

I am using NegotiateScheme for authentication.I am getting following
exception.So ,Please help me out in resolving this.

GSSException: No valid credentials provided (Mechanism level: Failed to find
any Kerberos Ticket)
	at
sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:133)
	at
sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:72)
	at
sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:149)
	at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:389)
	at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:60)
	at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:37)
	at
sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:96)
	at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:178)
	at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)
	at
org.apache.http.impl.auth.NegotiateScheme.authenticate(NegotiateScheme.java:233)
	at com.scraper.authenticate.KerbTest.main(KerbTest.java:149)
org.apache.http.auth.InvalidCredentialsException: No valid credentials
provided
	at
org.apache.http.impl.auth.NegotiateScheme.authenticate(NegotiateScheme.java:259)
	at com.scraper.authenticate.KerbTest.main(KerbTest.java:149)
Caused by: GSSException: No valid credentials provided
	at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:69)
	at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:37)
	at
sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:96)
	at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:178)
	at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)
	at
org.apache.http.impl.auth.NegotiateScheme.authenticate(NegotiateScheme.java:233)
	... 1 more

Thanks&Regards,
Komali.
-- 
View this message in context: http://old.nabble.com/GSSException%3A-No-valid-credentials-provided-%28Mechanism-level%3A-Failed-to-find-any-Kerberos-Ticket%29-tp32081105p32081105.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message