Description
From BUG-4306
The basic interactions flow might look like this.
1. Client requests HDFS resource via gateway
2. Gateway challenges with basic auth
3. Gateway authenticates with KDC and receives token
4. Gateway forwards original request to service
5. Service challenges with SPNEGO
6. Gateway provides token received from KDC
7. Service provides response including hadoop.auth cookie. This prevents subsequent KDC and SPNEGO interactions.