You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by bz...@apache.org on 2016/11/29 08:03:15 UTC

zeppelin git commit: [DOCS] Update Shiro configuration file with new package names

Repository: zeppelin
Updated Branches:
  refs/heads/master 4ac577f71 -> 78ff94c17


[DOCS] Update Shiro configuration file with new package names

### What is this PR for?
Since most of authentication related realm classes has moved from `org.apache.zeppelin.server` package into `org.apache.zeppelin.realm`, we need to update corresponding `shiro.ini.template` file

### What type of PR is it?
Improvement | Documentation

### Todos
* [x] - update class packages

### What is the Jira issue?
N/A

### How should this be tested?
same as for testing `LdapGroupRealm` or `ActiveDirectoryGroupRealm`

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Khalid Huseynov <kh...@gmail.com>

Closes #1700 from khalidhuseynov/update/shiro-config and squashes the following commits:

2eabc24 [Khalid Huseynov] update package names


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

Branch: refs/heads/master
Commit: 78ff94c177c4803be00b4a00aea93f9b7c23bb3b
Parents: 4ac577f
Author: Khalid Huseynov <kh...@gmail.com>
Authored: Tue Nov 29 16:25:41 2016 +0900
Committer: Alexander Bezzubov <bz...@apache.org>
Committed: Tue Nov 29 17:03:09 2016 +0900

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


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/78ff94c1/conf/shiro.ini.template
----------------------------------------------------------------------
diff --git a/conf/shiro.ini.template b/conf/shiro.ini.template
index 1ca3aa4..8f40d23 100644
--- a/conf/shiro.ini.template
+++ b/conf/shiro.ini.template
@@ -26,7 +26,7 @@ user3 = password4, role2
 # Sample LDAP configuration, for user Authentication, currently tested for single Realm
 [main]
 ### A sample for configuring Active Directory Realm
-#activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
+#activeDirectoryRealm = org.apache.zeppelin.realm.ActiveDirectoryGroupRealm
 #activeDirectoryRealm.systemUsername = userNameA
 
 #use either systemPassword or hadoopSecurityCredentialPath, more details in http://zeppelin.apache.org/docs/latest/security/shiroauthentication.html
@@ -38,7 +38,7 @@ user3 = password4, role2
 #activeDirectoryRealm.authorizationCachingEnabled = false
 
 ### A sample for configuring LDAP Directory Realm
-#ldapRealm = org.apache.zeppelin.server.LdapGroupRealm
+#ldapRealm = org.apache.zeppelin.realm.LdapGroupRealm
 ## search base for ldap groups (only relevant for LdapGroupRealm):
 #ldapRealm.contextFactory.environment[ldap.searchBase] = dc=COMPANY,dc=COM
 #ldapRealm.contextFactory.url = ldap://ldap.test.com:389
@@ -74,7 +74,7 @@ admin = *
 
 [urls]
 # This section is used for url-based security.
-# You can secure interpreter, configuration and credential information by urls. Comment or uncomment the below urls that you want to hide. 
+# You can secure interpreter, configuration and credential information by urls. Comment or uncomment the below urls that you want to hide.
 # anon means the access is anonymous.
 # authc means Form based Auth Security
 # To enfore security, comment the line below and uncomment the next one