You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Hendy Irawan <he...@soluvas.com> on 2012/10/24 11:57:48 UTC

How to encode {SSHA} userPassword (or other encodings) ?

Hi,

How to encode {SSHA} userPassword (or other encodings) using Apache LDAP
API ?

Thank you.

-- 
Hendy Irawan - on Twitter <http://twitter.com/hendybippo> - on
LinkedIn<http://id.linkedin.com/in/hendyirawan>
Web Developer | Bippo Indonesia <http://www.bippo.co.id/> | Akselerator
Bisnis | Bandung

Re: How to encode {SSHA} userPassword (or other encodings) ?

Posted by Hendy Irawan <he...@soluvas.com>.
Thank you Emmanuel,

I've filed https://issues.apache.org/jira/browse/DIRSHARED-140

Hendy

On Wed, Oct 24, 2012 at 10:20 PM, Emmanuel Lécharny <el...@gmail.com>wrote:

> Le 10/24/12 5:13 PM, Kiran Ayyagari a écrit :
>
>  you can use encryptPassword() method of PasswordUtil class
>>
>> but this class is not part of the client API, it is present in the
>> apacheds-core-api module
>>
>
> That would worth a JIRA, we can add such a feature in the API I guess...
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>


-- 
Hendy Irawan - on Twitter <http://twitter.com/hendybippo> - on
LinkedIn<http://id.linkedin.com/in/hendyirawan>
Web Developer | Bippo Indonesia <http://www.bippo.co.id/> | Akselerator
Bisnis | Bandung

Re: How to encode {SSHA} userPassword (or other encodings) ?

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 10/24/12 5:13 PM, Kiran Ayyagari a écrit :
> you can use encryptPassword() method of PasswordUtil class
>
> but this class is not part of the client API, it is present in the
> apacheds-core-api module

That would worth a JIRA, we can add such a feature in the API I guess...


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: How to encode {SSHA} userPassword (or other encodings) ?

Posted by Kiran Ayyagari <ka...@apache.org>.
you can use encryptPassword() method of PasswordUtil class

but this class is not part of the client API, it is present in the
apacheds-core-api module

On Wed, Oct 24, 2012 at 3:27 PM, Hendy Irawan <he...@soluvas.com> wrote:
> Hi,
>
> How to encode {SSHA} userPassword (or other encodings) using Apache LDAP
> API ?
>
> Thank you.
>
> --
> Hendy Irawan - on Twitter <http://twitter.com/hendybippo> - on
> LinkedIn<http://id.linkedin.com/in/hendyirawan>
> Web Developer | Bippo Indonesia <http://www.bippo.co.id/> | Akselerator
> Bisnis | Bandung



-- 
Kiran Ayyagari
http://keydap.com