Skip to content

Commit

Permalink
[DOCS] Update Shiro configuration file with new package names
Browse files Browse the repository at this point in the history
### 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 <[email protected]>

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

2eabc24 [Khalid Huseynov] update package names
  • Loading branch information
khalidhuseynov authored and bzz committed Nov 29, 2016
1 parent 4ac577f commit 78ff94c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/shiro.ini.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 78ff94c

Please sign in to comment.