diff --git a/conf/shiro.ini.template b/conf/shiro.ini.template index 24b18e27109..c60f278d148 100644 --- a/conf/shiro.ini.template +++ b/conf/shiro.ini.template @@ -30,7 +30,7 @@ user3 = password4, role2 #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 +#use either systemPassword or hadoopSecurityCredentialPath, more details in https://zeppelin.apache.org/docs/latest/setup/security/shiro_authentication.html #activeDirectoryRealm.systemPassword = passwordA #activeDirectoryRealm.hadoopSecurityCredentialPath = jceks://file/user/zeppelin/zeppelin.jceks #activeDirectoryRealm.searchBase = CN=Users,DC=SOME_GROUP,DC=COMPANY,DC=COM diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/realm/jwt/KnoxAuthenticationFilter.java b/zeppelin-server/src/main/java/org/apache/zeppelin/realm/jwt/KnoxAuthenticationFilter.java index e2800908246..593cbbd050f 100644 --- a/zeppelin-server/src/main/java/org/apache/zeppelin/realm/jwt/KnoxAuthenticationFilter.java +++ b/zeppelin-server/src/main/java/org/apache/zeppelin/realm/jwt/KnoxAuthenticationFilter.java @@ -68,8 +68,8 @@ protected boolean isAccessAllowed( } else { LOGGER.error( "Looks like this filter is enabled without enabling KnoxJwtRealm, please refer" - + " to https://zeppelin.apache.org/docs/latest/security/shiroauthentication.html" - + "#knox-sso"); + + " to https://zeppelin.apache.org/docs/latest/setup/security/" + + "shiro_authentication.html#knox-sso"); } } return accessAllowed; diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/realm/kerberos/KerberosAuthenticationFilter.java b/zeppelin-server/src/main/java/org/apache/zeppelin/realm/kerberos/KerberosAuthenticationFilter.java index 0f628356d11..4e96ab92bbd 100644 --- a/zeppelin-server/src/main/java/org/apache/zeppelin/realm/kerberos/KerberosAuthenticationFilter.java +++ b/zeppelin-server/src/main/java/org/apache/zeppelin/realm/kerberos/KerberosAuthenticationFilter.java @@ -76,8 +76,8 @@ public void doFilterInternal(ServletRequest request, kerberosRealm.doKerberosAuth(request, response, filterChain); } else { LOGGER.error("Looks like this filter is enabled without enabling KerberosRealm, please refer" - + " to https://zeppelin.apache.org/docs/latest/security/shiroauthentication.html" - + "#kerberos-auth"); + + " to https://zeppelin.apache.org/docs/latest/setup/security/shiro_authentication.html" + + "#http-spnego-authentication"); } } }