You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2016/01/14 17:26:14 UTC

incubator-zeppelin git commit: Tested with local LDAP configurations.

Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master 11d25be8c -> 4c0fd961d


Tested with local LDAP configurations.

### What is this PR for?
hayssams Leemoonsoo Just tested https://github.com/apache/incubator-zeppelin/pull/586 with a local LDAP, works well for me. Included a sample config.

### What type of PR is it?
Documentation / Sample testing.

### How should this be tested?
Change configs to point to a local/available LDAP, uncomment the parameters, replacing the individual values.

Author: Rohit Choudhary <rc...@gmail.com>

Closes #625 from rconline/SHIRO_LDAP and squashes the following commits:

fa0b69c [Rohit Choudhary] Enabling annonymous access, commenting out AuthBasic.
ead38fd [Rohit Choudhary] Tested with local LDAP configurations.


Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/4c0fd961
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/4c0fd961
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/4c0fd961

Branch: refs/heads/master
Commit: 4c0fd961d8634f4f75c79fa88fd62e83b192c0d3
Parents: 11d25be
Author: Rohit Choudhary <rc...@gmail.com>
Authored: Tue Jan 12 18:48:20 2016 +0530
Committer: Lee moon soo <mo...@apache.org>
Committed: Thu Jan 14 08:28:29 2016 -0800

----------------------------------------------------------------------
 conf/shiro.ini | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/4c0fd961/conf/shiro.ini
----------------------------------------------------------------------
diff --git a/conf/shiro.ini b/conf/shiro.ini
index a592b43..dd2e0a9 100644
--- a/conf/shiro.ini
+++ b/conf/shiro.ini
@@ -22,8 +22,12 @@ admin = password1
 user1 = password2
 user2 = password3
 
-
-[urls]
+# Sample LDAP configuration, for user Authentication, currently tested for single Realm
+[main]
+#ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm
+#ldapRealm.userDnTemplate = cn={0},cn=engg,ou=testdomain,dc=testdomain,dc=com
+#ldapRealm.contextFactory.url = ldap://ldaphost:389
+#ldapRealm.contextFactory.authenticationMechanism = SIMPLE
 
 # anon means the access is anonymous.
 # authcBasic means Basic Auth Security