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
|
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. > |
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. >> > > |
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. |
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
|
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. |
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
|
Free forum by Nabble | Edit this page |