ajaygk95 commented on a change in pull request #3277: [ZEPPELIN-2881] Fix OIDC 
logout
URL: https://github.com/apache/zeppelin/pull/3277#discussion_r245927138
 
 

 ##########
 File path: docs/setup/basics/how_to_build.md
 ##########
 @@ -174,9 +180,9 @@ Bulid examples under zeppelin-examples directory
 Here are some examples with several options:
 
 ```bash
-# build with spark-2.1, scala-2.11
+# build with spark-2.1, scala-2.11 and OIDC
 ./dev/change_scala_version.sh 2.11
-mvn clean package -Pspark-2.1 -Phadoop-2.4 -Pscala-2.11 -DskipTests
+mvn clean package -Pspark-2.1 -Phadoop-2.4 -Pscala-2.11 -DskipTests -Poidc
 
 Review comment:
   When we add buji jars to zeppelin classpath and then configure basic 
authentication in shiro we get 2 realms. 
      One which we add in shiro and one more which is added as part of buji 
jars implicitly. So in this case basic username password authentication was not 
working. This is the exception i was getting.
   
   `Caused by: java.lang.Exception: IniRealm/password based auth mechanisms 
should be exclusive. Consider removing [users] block from shiro.ini
        at 
org.apache.zeppelin.server.ZeppelinServer.<init>(ZeppelinServer.java:112)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)`
   
   Attaching the full exception trace 
[exception.log](https://github.com/apache/zeppelin/files/2736036/exception.log).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to