Re: authentificating with ldap javax.security.auth.login.LoginException on org.apache.catalina.realm.JAASRealm authenticate

Ate Douma <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>
Great to hear you got it all figured out and working Jérôme!

And thanks for keeping the community informed on your progress and steps taken.
That might be helpful for others as well.

Regards,

Ate

On 10/05/2011 11:13 AM, [email protected] wrote:
>
>
>
> Last problem: the solution
>
> The password is crypted in SHA-1 (it could be changed easily in
> configuration).
>
> In the security-ldap.xml file, the default algorythm for
> org.apache.jetspeed.security.spi.impl.LdapCredentialPasswordEncoder is
> CRYPT.
> I changed it to SHA, to be consistent with the other part of configuration,
> and it works fine, users created with jetspeed can connect.
>
> Here si the chunck of spring file configuration:
>
>    <bean
> id="org.apache.jetspeed.security.spi.impl.LdapCredentialPasswordEncoder"
>
> class="org.apache.jetspeed.security.spi.impl.LdapCredentialPasswordEncoder">
>      <meta key="j2:cat" value="default or security" />
>      <constructor-arg index="0">
>        <value>SHA</value>
>      </constructor-arg>
>    </bean>
>
> Regards,
> Jérôme
>
>
> Exposition  Vogue : l'aventure d'une maison de disque  - jusqu'au13 novembre 2011 - BnF - François-Mitterrand / Allée Julien Cain Avant d'imprimer, pensez à l'environnement.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.