HADOOP-12037. Fix wrong classname in example configuration of hadoop-auth documentation. Contributed by Masatake Iwasaki.
(cherry picked from commit 990078b927
)
This commit is contained in:
parent
640ea994ed
commit
52ff1610cd
|
@ -73,12 +73,13 @@ To use Kerberos SPNEGO as the authentication mechanism, the authentication filte
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
```xml
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
||||||
...
|
...
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<filter-name>kerberosFilter</filter-name>
|
<filter-name>kerberosFilter</filter-name>
|
||||||
<filter-class>org.apache.hadoop.security.auth.server.AuthenticationFilter</filter-class>
|
<filter-class>org.apache.hadoop.security.authentication.server.AuthenticationFilter</filter-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>type</param-name>
|
<param-name>type</param-name>
|
||||||
<param-value>kerberos</param-value>
|
<param-value>kerberos</param-value>
|
||||||
|
@ -112,6 +113,7 @@ To use Kerberos SPNEGO as the authentication mechanism, the authentication filte
|
||||||
|
|
||||||
...
|
...
|
||||||
</web-app>
|
</web-app>
|
||||||
|
```
|
||||||
|
|
||||||
### Pseudo/Simple Configuration
|
### Pseudo/Simple Configuration
|
||||||
|
|
||||||
|
@ -125,12 +127,13 @@ To use Pseudo/Simple as the authentication mechanism (trusting the value of the
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
```xml
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
||||||
...
|
...
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<filter-name>simpleFilter</filter-name>
|
<filter-name>simpleFilter</filter-name>
|
||||||
<filter-class>org.apache.hadoop.security.auth.server.AuthenticationFilter</filter-class>
|
<filter-class>org.apache.hadoop.security.authentication.server.AuthenticationFilter</filter-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>type</param-name>
|
<param-name>type</param-name>
|
||||||
<param-value>simple</param-value>
|
<param-value>simple</param-value>
|
||||||
|
@ -160,6 +163,7 @@ To use Pseudo/Simple as the authentication mechanism (trusting the value of the
|
||||||
|
|
||||||
...
|
...
|
||||||
</web-app>
|
</web-app>
|
||||||
|
```
|
||||||
|
|
||||||
### AltKerberos Configuration
|
### AltKerberos Configuration
|
||||||
|
|
||||||
|
@ -175,12 +179,13 @@ The AltKerberos authentication mechanism is a partially implemented derivative o
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
```xml
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
||||||
...
|
...
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<filter-name>kerberosFilter</filter-name>
|
<filter-name>kerberosFilter</filter-name>
|
||||||
<filter-class>org.apache.hadoop.security.auth.server.AuthenticationFilter</filter-class>
|
<filter-class>org.apache.hadoop.security.authentication.server.AuthenticationFilter</filter-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>type</param-name>
|
<param-name>type</param-name>
|
||||||
<param-value>org.my.subclass.of.AltKerberosAuthenticationHandler</param-value>
|
<param-value>org.my.subclass.of.AltKerberosAuthenticationHandler</param-value>
|
||||||
|
@ -218,6 +223,7 @@ The AltKerberos authentication mechanism is a partially implemented derivative o
|
||||||
|
|
||||||
...
|
...
|
||||||
</web-app>
|
</web-app>
|
||||||
|
```
|
||||||
|
|
||||||
### SignerSecretProvider Configuration
|
### SignerSecretProvider Configuration
|
||||||
|
|
||||||
|
@ -262,6 +268,7 @@ The following configuration properties are specific to the `zookeeper` implement
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
```xml
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -279,9 +286,11 @@ The following configuration properties are specific to the `zookeeper` implement
|
||||||
|
|
||||||
...
|
...
|
||||||
</web-app>
|
</web-app>
|
||||||
|
```
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
```xml
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -299,9 +308,11 @@ The following configuration properties are specific to the `zookeeper` implement
|
||||||
|
|
||||||
...
|
...
|
||||||
</web-app>
|
</web-app>
|
||||||
|
```
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
```xml
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -339,3 +350,4 @@ The following configuration properties are specific to the `zookeeper` implement
|
||||||
|
|
||||||
...
|
...
|
||||||
</web-app>
|
</web-app>
|
||||||
|
```
|
||||||
|
|
|
@ -141,6 +141,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HADOOP-12043. Display warning if defaultFs is not set when running fs
|
HADOOP-12043. Display warning if defaultFs is not set when running fs
|
||||||
commands. (Lei Xu via wang)
|
commands. (Lei Xu via wang)
|
||||||
|
|
||||||
|
HADOOP-12037. Fix wrong classname in example configuration of hadoop-auth
|
||||||
|
documentation. (Masatake Iwasaki via wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
|
Loading…
Reference in New Issue