cancel
Showing results for 
Search instead for 
Did you mean: 

Password in cleartext

nowhere
Champ in-the-making
Champ in-the-making
Hi all,
I have written a new provider for authentication and set:

<bean id="authenticationManager" class="net.sf.acegisecurity.providers.ProviderManager">
        <property name="providers">
            <list>
                <ref bean="authenticatedAuthenticationPassthroughProvider" />
      <ref bean="daoAuthenticationNEWProvider" />
                <ref bean="daoAuthenticationProvider" />      
            </list>
        </property>
    </bean>

It works fine, it uses my new class. The problem is that there I need to compare the password of current user with liferay password that is encrypted. Ho can I proceed? Can I have alfresco plaintext password? If yes, how? Any help would be appreciated, it's very urgent to me.

Thanks for any hint!

Greetings,
Nowhere
1 REPLY 1

zaizi
Champ in-the-making
Champ in-the-making
What encryption does liferay use to encrypt it's password? Why not encrypt your user password using the same method and compare the hash?