Ofbiz - LDAP

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

Ofbiz - LDAP

twosolution
Hi,

Do i need to change

<AuthenticationHandler>org.ofbiz.ldap.cas.OFBizCasAuthenticationHandler</AuthenticationHandler>
to
org.ofbiz.ldap.openldap.OFBizLdapAuthenticationHandler

if i only wanted Ofbiz to authenticate with OpenLDAP ?
i dont need CAS

i had try to change it. but hit error

(http-0.0.0.0-8080-2) [  ServiceDispatcher.java:521:ERROR] Error in
Service [userLogin]: LDAP authentication failed.
---- exception report
----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace

i am using trunk revision 1374596

i want to know if i am going the correct direction

Regards

Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You.


Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - LDAP

Shi Jinghai-3
No, the ldap component in specailpurpose cannot be used anymore as there are implements in framework now done by Adrian Crum. Please check the "security.ldap.enable" in framework/common/config/security.properties. If you want to add more controls on ldap search and etc., try to modify the methods in org.ofbiz.common.login.LdapAuthenticationServices.

Regards,

Shi Jinghai

On Sep 26, 2013, at 8:32 PM, ChoeJenSing <[hidden email]> wrote:

> Hi,
>
> Do i need to change
>
> <AuthenticationHandler>org.ofbiz.ldap.cas.OFBizCasAuthenticationHandler</AuthenticationHandler>
> to
> org.ofbiz.ldap.openldap.OFBizLdapAuthenticationHandler
>
> if i only wanted Ofbiz to authenticate with OpenLDAP ?
> i dont need CAS
>
> i had try to change it. but hit error
>
> (http-0.0.0.0-8080-2) [  ServiceDispatcher.java:521:ERROR] Error in Service [userLogin]: LDAP authentication failed.
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
>
> i am using trunk revision 1374596
>
> i want to know if i am going the correct direction
>
> Regards
>
> Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - LDAP

Adrian Crum-3
Actually, it was the other way around. The LDAP implementation I
introduced preceded the LDAP specialpurpose component, and that
component was supposed to replace my LDAP implementation.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 9/26/2013 9:39 AM, Shi Jinghai wrote:

> No, the ldap component in specailpurpose cannot be used anymore as there are implements in framework now done by Adrian Crum. Please check the "security.ldap.enable" in framework/common/config/security.properties. If you want to add more controls on ldap search and etc., try to modify the methods in org.ofbiz.common.login.LdapAuthenticationServices.
>
> Regards,
>
> Shi Jinghai
>
> On Sep 26, 2013, at 8:32 PM, ChoeJenSing <[hidden email]> wrote:
>
>> Hi,
>>
>> Do i need to change
>>
>> <AuthenticationHandler>org.ofbiz.ldap.cas.OFBizCasAuthenticationHandler</AuthenticationHandler>
>> to
>> org.ofbiz.ldap.openldap.OFBizLdapAuthenticationHandler
>>
>> if i only wanted Ofbiz to authenticate with OpenLDAP ?
>> i dont need CAS
>>
>> i had try to change it. but hit error
>>
>> (http-0.0.0.0-8080-2) [  ServiceDispatcher.java:521:ERROR] Error in Service [userLogin]: LDAP authentication failed.
>> ---- exception report ----------------------------------------------------------
>> [TransactionUtil.rollback]
>> Exception: java.lang.Exception
>> Message: Stack Trace
>> ---- stack trace ---------------------------------------------------------------
>> java.lang.Exception: Stack Trace
>>
>> i am using trunk revision 1374596
>>
>> i want to know if i am going the correct direction
>>
>> Regards
>>
>> Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You.
>>
>>
>>
>