more final version of the various PasswordEncoder implementations.
add unit tests for PasswordEncoder implementations. remove ignore password case and ignore username case flags and handling from DaoAuthenticationProvider. remove requirement described in JavaDoc for AuthenticationDao that it ignore case when returning a user by username. Implementations may still do so if configured as such.
This commit is contained in:
@@ -850,15 +850,8 @@
|
||||
|
||||
<para><programlisting><bean id="daoAuthenticationProvider" class="net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider">
|
||||
<property name="authenticationDao"><ref bean="inMemoryDaoImpl"/></property>
|
||||
<property name="ignorePasswordCase"><value>false</value></property>
|
||||
<property name="ignoreUsernameCase"><value>true</value></property>
|
||||
</bean></programlisting></para>
|
||||
|
||||
<para>By default the <literal>DaoAuthenticationProvider</literal> does
|
||||
not require an exact match on usernames, but it does require an exact
|
||||
match on passwords. This behavior can be configured with the optional
|
||||
properties shown above.</para>
|
||||
|
||||
<para>For a class to be able to provide the
|
||||
<literal>DaoAuthenticationProvider</literal> with access to an
|
||||
authentication repository, it must implement the
|
||||
|
||||
Reference in New Issue
Block a user