Hi Jochen,

Let's slow down.

For Q2, as you mentioned, you have a webserver deployed in front of OFBiz. If 
so, the authn work is done in the webserver. The requests proxyed to OFBiz are 
all authened. Right?

My puzzle is why you insist OFBiz has to validate against LDAP, for 
authorization?


-----邮件原件-----
发件人: Jochen.Boutens@ [mailto:finalbeta.net jochen.bout...@finalbeta.net] 
发送时间: 2018年3月30日 1:52
收件人: user@ofbiz.apache.org
主题: Re: Basic Q: Can ofbiz run in subdir and use HTTP auth?


Hello Shi, 

Thanks for your response. Q1 is clear. 

About your response to question 2. You seem to imply that LDAP + Basic auth can 
be done. But I'm not sure what you are suggesting exaclty. 
The Tomcat SSO you are talking about is this? ( 
https://tomcat.apache.org/tomcat-8.0-doc/windows-auth-howto.html ) The only 
refference it makes to Basic auth seems to be that it doesn't work and you need 
SPNEGO. 
Apero CAS and QAuth2 both require another server (something not in my setup) 
right? 

To be clear, can ofbiz take the basic auth credentials from the header to logon 
the user? (validating it against ldap, or trusting the servers validation of 
the basic auth)

On 2018/03/29 08:44:07, Shi Jinghai <huaru...@hotmail.com> wrote: 
> Q1: http://server/ofbiz/
> Yes. It's a simple configuration for both Apache Httd and Nginx.
> 
> Q2: Http header basic authentication
> Not sure whether Jacques has completed the new Tomcat SSO. If yes, then it's 
> ready OOTB.
> For this kind authentication, OFBiz also supports Apereo CAS (by LDAP plugin) 
> and OAuth2 (by passport plugin).
> 
> Have fun,
> 
> -----邮件原件-----
> 发件人: Jochen.Boutens@ [mailto:finalbeta.net 
> jochen.bout...@finalbeta.net] 
> 发送时间: 2018年3月29日 15:39
> 收件人: user@ofbiz.apache.org
> 主题: Basic Q: Can ofbiz run in subdir and use HTTP auth?
> 
> Hello, We are exploring functionality of several sollutions. Ofbiz seems to 
> qualify for most tasks. 
> 
> I have two questions I would like to make sure before we begin testing: 
> 
> For integration into our systems we require the the solution to run under a 
> subdirectory of the root of the webserver. (http://server/ofbiz/). 
> ( The reason for this is that ofbiz will be reverse proxied and that 
> http://reverseproxy/ is used for something else. A differend domain is not a 
> option because of question two).
> 
> For integration into our systems we prefer that the application can use 
> authentication data in the http header (Basic Authorization/Http 
> authorization). Our reverse proxy sends the users (LDAP) credentials in the 
> header allowing applications to automatically log the user in. 
> 
> Can these things be done with Ofbiz? 
> 
> Thanks for your responses. 
> 
> 
> 

Reply via email to