Ajout du hashage des mots de passe dans Acegi

Correction en conséquence de SessionService
Ajout d'une vérification de duplication d'email dans UserRegister
This commit is contained in:
2008-02-03 20:37:51 +00:00
parent fe062a6766
commit 7e1042dbe9
7 changed files with 41 additions and 26 deletions

View File

@@ -42,12 +42,6 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<property name="providers">
<list>
<ref local="daoAuthenticationProvider"/>
<bean class="org.acegisecurity.providers.anonymous.AnonymousAuthenticationProvider">
<property name="key" value="changeThis"/>
</bean>
<bean class="org.acegisecurity.providers.rememberme.RememberMeAuthenticationProvider">
<property name="key" value="changeThis"/>
</bean>
</list>
</property>
</bean>
@@ -66,6 +60,12 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
</property>
</bean>
</property>
<property name="passwordEncoder" ref="passwordEncoder"/>
</bean>
<bean id="passwordEncoder"
class="org.acegisecurity.providers.encoding.ShaPasswordEncoder">
<constructor-arg value="256"/>
</bean>
<bean id="userDetailsService" class="org.yacos.auth.UserDetailsService">