Thanks for your sharing, could you contribute it to Zeppelin doc ?
Alessandro Busato 于2021年10月21日周四 下午3:54写道:
> I don't want boring you with this problem but I implemented the definitive
> solution keeping zeppenlin authorization as is. I think is the more clean
> solution.
>
> Use apache proxy
I don't want boring you with this problem but I implemented the definitive
solution keeping zeppenlin authorization as is. I think is the more clean
solution.
Use apache proxy to overcome CORS problems
I did proceed in this way:
Zeppelin: modify zeppelin-site.xml change property zeppelin.ser
it is better
/api/notebook/** = authcBasic
/** = authc
this replacement permits logging-in to webapp with no basic authentication
browser
popup and a the same time to use rest notepbook api in CORS mode with no
problem.
Alessandro
On 2021/10/18 06:58:02, Alessandro Busato wrote:
> I solved
I solved in this way,
I exploited the BasicAuthentication of shiro,
I edited conf/shiro.ini and changed /** = authc into /** = authcBasic
I think this "workaround" is less secure than others but
in this way I can make CORS request even if the jquery doen't set JSESSIONID
$.ajax({
On 2021/10/17 11:11:21, Jeff Zhang wrote:
> Do you embed zeppelin as an iframe in your app ?
No, it isn't.
Best regards,
Alessandro
>
> Alessandro Busato 于2021年10月17日周日 下午6:11写道:
>
> > Evewrithing works in the if zeppelin and my webapp lives in the same
> > origin,
> > but NOT when I'm
Do you embed zeppelin as an iframe in your app ?
Alessandro Busato 于2021年10月17日周日 下午6:11写道:
> Evewrithing works in the if zeppelin and my webapp lives in the same
> origin,
> but NOT when I'm trying to connecto to zeppelin server via CORS,
> the login step works,
> but others as "notebook list"