mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
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:
parent
05870a96cd
commit
94e184333e
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue