Repository: zeppelin Updated Branches: refs/heads/master 8e6f333a6 -> e5ac1134c
[DOCS] Update Shiro conf file with new package names in docs accordingly ### What is this PR for? Based on #1700, https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/security/shiroauthentication.html#groups-and-permissions-optional needs be updated accordingly. ``` activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm ldapRealm = org.apache.zeppelin.server.LdapGroupRealm ``` to ``` ldapRealm = org.apache.zeppelin.realm.LdapGroupRealm ldapRealm = org.apache.zeppelin.realm.LdapGroupRealm ``` ### What type of PR is it? Documentation ### What is the Jira issue? N/A ### How should this be tested? No need to test this I guess. I just changed 3 words :D ### 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: AhyoungRyu <fbdkdu...@hanmail.net> Closes #1703 from AhyoungRyu/update/shiro-config-docs and squashes the following commits: 8159131 [AhyoungRyu] Update Shiro conf file with new package names in docs accordinly Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/e5ac1134 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/e5ac1134 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/e5ac1134 Branch: refs/heads/master Commit: e5ac1134c39e63c35840231c5f8b6cfedbd9d89d Parents: 8e6f333 Author: AhyoungRyu <fbdkdu...@hanmail.net> Authored: Wed Nov 30 01:46:58 2016 +0900 Committer: ahyoungryu <ahyoung...@apache.org> Committed: Fri Dec 2 10:25:21 2016 +0900 ---------------------------------------------------------------------- docs/security/shiroauthentication.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/e5ac1134/docs/security/shiroauthentication.md ---------------------------------------------------------------------- diff --git a/docs/security/shiroauthentication.md b/docs/security/shiroauthentication.md index 095bd5a..de015b9 100644 --- a/docs/security/shiroauthentication.md +++ b/docs/security/shiroauthentication.md @@ -71,7 +71,7 @@ You can set the roles for each users next to the password. In case you want to leverage user groups and permissions, use one of the following configuration for LDAP or AD under `[main]` segment in `shiro.ini`. ``` -activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm +activeDirectoryRealm = org.apache.zeppelin.realm.ActiveDirectoryGroupRealm activeDirectoryRealm.systemUsername = userNameA activeDirectoryRealm.systemPassword = passwordA activeDirectoryRealm.searchBase = CN=Users,DC=SOME_GROUP,DC=COMPANY,DC=COM @@ -106,7 +106,7 @@ We also provide community custom Realms. ### Active Directory ``` -activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm +activeDirectoryRealm = org.apache.zeppelin.realm.ActiveDirectoryGroupRealm activeDirectoryRealm.systemUsername = userNameA activeDirectoryRealm.systemPassword = passwordA activeDirectoryRealm.hadoopSecurityCredentialPath = jceks://file/user/zeppelin/conf/zeppelin.jceks @@ -127,7 +127,7 @@ Change the following values in the Shiro.ini file, and uncomment the line: ### LDAP ``` -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