Skip to content

Commit a6d9a2a

Browse files
committed
update with new error cause & paragraph on CXF
1 parent e59b810 commit a6d9a2a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

sections/errors.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,20 @@ This may appear in a stack trace starting with something like:
5757

5858
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
5959

60+
61+
It's very common, and essentially means "you weren't authenticated"
62+
6063
Possible causes:
6164

6265
1. You aren't logged in via `kinit`.
6366
1. You have logged in with `kinit`, but the tickets you were issued with have expired.
67+
1. Your process was issued with a ticket, which has now expired.
6468
1. You did specify a keytab but it isn't there or is somehow otherwise invalid
6569
1. You don't have the Java Cryptography Extensions installed.
6670

6771
## Clock skew too great
6872

69-
GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null)) . . . Caused by: javax.security.auth.login.LoginException: Clock skew too great
73+
GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null)) . . . Caused by: javax.security.auth.login.LoginException: Clock skew too great
7074

7175
GSSException: No valid credentials provided (Mechanism level: Clock skew too great (37) - PROCESS_TGS
7276

@@ -104,7 +108,7 @@ See the comments above about DNS for some more possibilities.
104108
## During SPNEGO Auth: Defective token detected
105109

106110
GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
107-
111+
108112
The token supplied by the client is not accepted by the server.
109113

110114
This apparently surfaces in [Java 8 after 8u40](http://sourceforge.net/p/spnego/discussion/1003769/thread/700b6941/#cb84);

sections/web_and_rest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ That's not the kind of information you want to read when working out how to talk
7373

7474
There is not enough space to describe how to do this; examine the code.
7575

76+
# Apache CXF
77+
78+
I've been told that Apache CXF supports SPNEGO —but not yet experimented with it. Any
79+
insight here would be welcome.
80+
7681
## SPNEGO REST clients in the Hadoop codebase
7782

7883
The first point to note is that there is more than one piece of code

0 commit comments

Comments
 (0)