spnego
Reads a Kerberos ticket from the Authorization header, so that a client with a TGT authenticates without a password and without an intermediate identity provider.
- Package
github.com/cs3org/reva/v3/internal/http/interceptors/auth/credential/strategy/spnego- Source
- internal/http/interceptors/auth/credential/strategy/spnego · Go reference
Overview
Package spnego reads a Kerberos ticket from the Authorization header, so that a client with a TGT authenticates without a password and without an intermediate identity provider.
The token is passed through as the client secret for the kerberos auth manager to validate; nothing is verified here. The frontend does not hold the service keytab — the auth provider does — which is also why the SPNEGO exchange is one-legged: there is no way to return a mutual-authentication response token from this side.
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
auth_type | string | "kerberos" | AuthType is the auth provider this strategy routes to. It exists so a deployment can register the Kerberos provider under another name without having to patch this. source |