OFBiz intrgration with CAS/LDAP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

OFBiz intrgration with CAS/LDAP

vivek.mi
Hello everyone,

I want to integrate ofbiz to cas/ldap server. I want to know how can it be done in ofbiz, is there any integration done already?


Thanks & regards,
Vivek Mishra
Vivek Mishra
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz intrgration with CAS/LDAP

S K Pradeep kumar
Hi Vivek,

Please go through following properties in security.properties , you will
get idea.

# -- Use LDAP for user authentication? --
security.ldap.enable=false

# -- Fail login if LDAP authentication fails? --
security.ldap.fail.login=false

# -- should we allow x509 certificate login
security.login.cert.allow=true

# -- HTTP header based ID (for integrations; uncomment to enable)
#security.login.http.header=REMOTE_USER

With regards,
S K Pradeep Kumar,
9035009495

On Tue, Feb 23, 2016 at 1:40 PM, vivek.mi <[hidden email]> wrote:

> Hello everyone,
>
> I want to integrate ofbiz to cas/ldap server. I want to know how can it be
> done in ofbiz, is there any integration done already?
>
>
> Thanks & regards,
> Vivek Mishra
>
>
>
> -----
> Vivek Mishra
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/OFBiz-intrgration-with-CAS-LDAP-tp4677438.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz intrgration with CAS/LDAP

S K Pradeep kumar
Also <event name="checkRequestHeaderLogin" type="java"
path="org.ofbiz.webapp.control.LoginWorker"
invoke="checkRequestHeaderLogin"/>

framework\common\webcommon\WEB-INF\common-controller.xml

With regards,
S K Pradeep Kumar,
9035009495

On Tue, Feb 23, 2016 at 6:00 PM, S K Pradeep Kumar <
[hidden email]> wrote:

> Hi Vivek,
>
> Please go through following properties in security.properties , you will
> get idea.
>
> # -- Use LDAP for user authentication? --
> security.ldap.enable=false
>
> # -- Fail login if LDAP authentication fails? --
> security.ldap.fail.login=false
>
> # -- should we allow x509 certificate login
> security.login.cert.allow=true
>
> # -- HTTP header based ID (for integrations; uncomment to enable)
> #security.login.http.header=REMOTE_USER
>
> With regards,
> S K Pradeep Kumar,
> 9035009495
>
> On Tue, Feb 23, 2016 at 1:40 PM, vivek.mi <[hidden email]> wrote:
>
>> Hello everyone,
>>
>> I want to integrate ofbiz to cas/ldap server. I want to know how can it be
>> done in ofbiz, is there any integration done already?
>>
>>
>> Thanks & regards,
>> Vivek Mishra
>>
>>
>>
>> -----
>> Vivek Mishra
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/OFBiz-intrgration-with-CAS-LDAP-tp4677438.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz intrgration with CAS/LDAP

Shi Jinghai-3
In reply to this post by vivek.mi
Hi Vivek,

You can find an LDAP component under /specialpurpose/ldap/:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ldap/

I contributed it many years ago. It supports CAS 3.3. You can upgrade it to
CAS latest version if possible. If you find any bugs in it, please fire an
issue in Jira.

Kind Regards,

Shi Jinghai

-----邮件原件-----
发件人: vivek.mi [mailto:[hidden email]]
发送时间: 2016年2月23日 16:10
收件人: [hidden email]
主题: OFBiz intrgration with CAS/LDAP

Hello everyone,

I want to integrate ofbiz to cas/ldap server. I want to know how can it be
done in ofbiz, is there any integration done already?


Thanks & regards,
Vivek Mishra



-----
Vivek Mishra
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/OFBiz-intrgration-with-CAS-LDAP-tp4677438.
html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz intrgration with CAS/LDAP

vivek.mi
Hello Shi,

Ldap authentication was successfully done, but it only log in as FULL ADMIN privileges. Can you guide me how to do the authorization with LDAP authentication.


Thanks a ton,
Vivek Mishra
Vivek Mishra
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz intrgration with CAS/LDAP

Shi Jinghai-3
Hi Vivek,

Sorry I cannot remember what structure you are trying to do? LDAP only or
CAS with LDAP?

Anyway, the authz depends on how your LDAP tree looks like, and you have to
customize a little on the authz part.

Kind Regards,

Shi Jinghai

-----邮件原件-----
发件人: vivek.mi [mailto:[hidden email]]
发送时间: 2016年5月17日 16:24
收件人: [hidden email]
主题: Re: OFBiz intrgration with CAS/LDAP

Hello Shi,

Ldap authentication was successfully done, but it only log in as FULL ADMIN
privileges. Can you guide me how to do the authorization with LDAP
authentication.


Thanks a ton,
Vivek Mishra



-----
Vivek Mishra
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/OFBiz-intrgration-with-CAS-LDAP-tp4677438p
4680671.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz intrgration with CAS/LDAP

vivek.mi
I am doing only LDAP. I will try to customize it in sometime. Thanks.

Warm Regards,
Vivek Mishra
Mob no:- +91-9873205937

On Sun, May 22, 2016 at 7:09 PM, Shi Jinghai <[hidden email]> wrote:

> Hi Vivek,
>
> Sorry I cannot remember what structure you are trying to do? LDAP only or
> CAS with LDAP?
>
> Anyway, the authz depends on how your LDAP tree looks like, and you have to
> customize a little on the authz part.
>
> Kind Regards,
>
> Shi Jinghai
>
> -----邮件原件-----
> 发件人: vivek.mi [mailto:[hidden email]]
> 发送时间: 2016年5月17日 16:24
> 收件人: [hidden email]
> 主题: Re: OFBiz intrgration with CAS/LDAP
>
> Hello Shi,
>
> Ldap authentication was successfully done, but it only log in as FULL ADMIN
> privileges. Can you guide me how to do the authorization with LDAP
> authentication.
>
>
> Thanks a ton,
> Vivek Mishra
>
>
>
> -----
> Vivek Mishra
> --
> View this message in context:
>
> http://ofbiz.135035.n4.nabble.com/OFBiz-intrgration-with-CAS-LDAP-tp4677438p
> 4680671.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Vivek Mishra