开发者

NTLM logins with clojure

开发者 https://www.devze.com 2023-02-27 05:55 出处:网络
I want t开发者_运维知识库o unit test a web application from Clojure. The web application tested is hidden behind NTLM-login. Is there any simple way to use existing clojure http-clients to login with

I want t开发者_运维知识库o unit test a web application from Clojure. The web application tested is hidden behind NTLM-login. Is there any simple way to use existing clojure http-clients to login with credentials?

Clj-http throws an exception when I try to access the site, I guess it would be possible to extend the nice clj-http to be able to login via NTLM, but is there an already available solution?

Current workaround: The command Curl have an option to login with ntlm, so I can use that as a (slurp "http://...") of sorts by calling that program by the clojure.java.shell lib

0

精彩评论

暂无评论...
验证码 换一张
取 消