Fixed documentation for shiro LDAPRealm

The github preview is fine but the html on https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/security/shiroauthentication.html#ldap is not displaying the code fragment correctly.
This commit is contained in:
Sohaib Iftikhar 2017-07-21 10:07:25 +02:00 committed by GitHub
parent 05870a96cd
commit 94e184333e

View file

@ -143,7 +143,8 @@ ldapRealm.contextFactory.authenticationMechanism = simple
The other more flexible option is to use the LdapRealm. It allows for mapping of ldapgroups to roles and also allows for
role/group based authentication into the zeppelin server. Sample configuration for this realm is given below.
```
```
[main]
ldapRealm=org.apache.zeppelin.realm.LdapRealm
@ -179,7 +180,7 @@ ldapRealm.allowedRolesForAuthentication = admin_role,user_role
ldapRealm.permissionsByRole= user_role = *:ToDoItemsJdo:*:*, *:ToDoItem:*:*; admin_role = *
securityManager.sessionManager = $sessionManager
securityManager.realms = $ldapRealm
```
```
### PAM
[PAM](https://en.wikipedia.org/wiki/Pluggable_authentication_module) authentication support allows the reuse of existing authentication