You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by fe...@apache.org on 2019/02/10 05:37:43 UTC

[zeppelin] branch branch-0.7 updated: formatting fix for LDAP realm documentation

This is an automated email from the ASF dual-hosted git repository.

felixcheung pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.7 by this push:
     new 7906a5c  formatting fix for LDAP realm documentation
7906a5c is described below

commit 7906a5c9443a33f4a21e3e93dccf06844649ce7f
Author: Jake Maul <11...@users.noreply.github.com>
AuthorDate: Sat Feb 9 22:37:26 2019 -0700

    formatting fix for LDAP realm documentation
    
    spacing of "```" block causing it to be ignored, and the rest of the contents to be rendered incorrectly.
    
    ### What is this PR for?
    The LDAP section of the documentation for zeppelin-0.7.3 renders incorrectly, here:
    
    http://zeppelin.apache.org/docs/0.7.3/security/shiroauthentication.html
    
    It looks correct on GitHub, but not on the standalone site. This should fix it.
    
    ### What type of PR is it?
    [Documentation | Bug Fix]
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? none known
    * Does this needs documentation? no
---
 docs/security/shiroauthentication.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/security/shiroauthentication.md b/docs/security/shiroauthentication.md
index 75a52e1..bf5e8e3 100644
--- a/docs/security/shiroauthentication.md
+++ b/docs/security/shiroauthentication.md
@@ -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