mirror of https://github.com/apache/druid.git
Fix authentication doc (#5813)
This commit is contained in:
parent
67ff7dacbd
commit
50ad7a45ff
|
@ -6,7 +6,7 @@ layout: doc_page
|
|||
|
||||
|Property|Type|Description|Default|Required|
|
||||
|--------|-----------|--------|--------|--------|
|
||||
|`druid.auth.authenticationChain`|JSON List of Strings|List of Authenticator type names|["allowAll"]|no|
|
||||
|`druid.auth.authenticatorChain`|JSON List of Strings|List of Authenticator type names|["allowAll"]|no|
|
||||
|`druid.escalator.type`|String|Type of the Escalator that should be used for internal Druid communications. This Escalator must use an authentication scheme that is supported by an Authenticator in `druid.auth.authenticationChain`.|"noop"|no|
|
||||
|`druid.auth.authorizers`|JSON List of Strings|List of Authorizer type names |["allowAll"]|no|
|
||||
|`druid.auth.unsecuredPaths`| List of Strings|List of paths for which security checks will not be performed. All requests to these paths will be allowed.|[]|no|
|
||||
|
@ -14,15 +14,15 @@ layout: doc_page
|
|||
|
||||
## Enabling Authentication/Authorization
|
||||
|
||||
## Authentication Chain
|
||||
Authentication decisions are handled by a chain of Authenticator instances. A request will be checked by Authenticators in the sequence defined by the `druid.auth.authenticationChain`.
|
||||
## Authenticator Chain
|
||||
Authentication decisions are handled by a chain of Authenticator instances. A request will be checked by Authenticators in the sequence defined by the `druid.auth.authenticatorChain`.
|
||||
|
||||
Authenticator implementions are provided by extensions.
|
||||
|
||||
For example, the following authentication chain definition enables the Kerberos and HTTP Basic authenticators, from the `druid-kerberos` and `druid-basic-security` core extensions, respectively:
|
||||
|
||||
```
|
||||
druid.auth.authenticationChain=["kerberos", "basic"]
|
||||
druid.auth.authenticatorChain=["kerberos", "basic"]
|
||||
```
|
||||
|
||||
A request will pass through all Authenticators in the chain, until one of the Authenticators successfully authenticates the request or sends an HTTP error response. Authenticators later in the chain will be skipped after the first successful authentication or if the request is terminated with an error response.
|
||||
|
|
Loading…
Reference in New Issue