Skip to content

Commit

Permalink
fix definition method of password encoder #424
Browse files Browse the repository at this point in the history
  • Loading branch information
btkobayashirun committed Aug 27, 2018
1 parent d997278 commit be08b82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 38 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@

<import resource="classpath:/META-INF/spring/projectName-domain.xml" />

<bean id="passwordEncoder" class="xxxxxx.yyyyyy.zzzzzz.domain.common.PasswordEncoderFactoryBean" />
<bean id="passwordEncoder" class="org.springframework.security.crypto.password.DelegatingPasswordEncoder">
<constructor-arg name="idForEncode" value="pbkdf2" />
<constructor-arg name="idToPasswordEncoder">
<map>
<entry key="pbkdf2">
<bean class="org.springframework.security.crypto.password.Pbkdf2PasswordEncoder" />
</entry>
</map>
</constructor-arg>
</bean>

<context:property-placeholder
location="classpath*:/META-INF/spring/*.properties" />
Expand Down

0 comments on commit be08b82

Please sign in to comment.