server/src/main/webapp/WEB-INF/spring-security.xml
branchuser_management
changeset 226 d2b688aadd8c
parent 225 0fcce86e650c
child 229 5064a6ddcb08
--- a/server/src/main/webapp/WEB-INF/spring-security.xml	Tue Oct 22 17:54:30 2013 +0200
+++ b/server/src/main/webapp/WEB-INF/spring-security.xml	Wed Oct 23 01:43:09 2013 +0200
@@ -27,7 +27,11 @@
         <property name="location" value="#{propsLocations.classpathProps}"/>
         <property name="ignoreUnresolvablePlaceholders" value="true"/>
         <property name="IgnoreResourceNotFound" value="true"/>
-    </bean>    
+    </bean>
+    
+    <bean class="org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder" id="renkanPasswordEncoder">
+        <constructor-arg name="strength" value="10" type="int"/>
+    </bean>
  
     <security:http auto-config="true" use-expressions="true">
         <security:intercept-url pattern="/admin" access="hasRole('ROLE_ADMIN')" />