Here's one example
https://github.com/apache/zeppelin/blob/master/zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/ZeppelinClientWithAuthIntegrationTest.java

igyu <i...@21cn.com> 于2021年5月24日周一 下午12:42写道:

> I want to use restful API with different user
>
> because I need proxy-user
>
>
>
> How can I use  http://[zeppelin-server]:[zeppelin-port]/api/login
>
> 1. I copy  form shiro.ini.template to shiro.ini
>
>  2.wget http://10.3.87.26:8218/api/interpreter
>
> --2021-05-24 12:41:06--  http://10.3.87.26:8218/api/interpreter
>
> Connecting to 10.3.87.26:8218... connected.
>
> HTTP request sent, awaiting response... 302 Found
>
> Location: http://10.3.87.26:8218/api/login [following]
>
> --2021-05-24 12:41:06--  http://10.3.87.26:8218/api/login
>
> Reusing existing connection to 10.3.87.26:8218.
>
> HTTP request sent, awaiting response... 405 Method Not Allowed
>
> 2021-05-24 12:41:06 ERROR 405: Method Not Allowed.
>
>
>
> ------------------------------
> igyu
>


-- 
Best Regards

Jeff Zhang

Reply via email to