This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7aeb882  GEODE-7104: Ensure compatibility with Spring 5.x (#3948)
7aeb882 is described below

commit 7aeb882fbcbdd4583c3e4505b545d47fc136fed5
Author: Jens Deppe <jde...@pivotal.io>
AuthorDate: Thu Aug 22 07:08:24 2019 -0700

    GEODE-7104: Ensure compatibility with Spring 5.x (#3948)
---
 geode-pulse/src/main/webapp/WEB-INF/spring-security.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/geode-pulse/src/main/webapp/WEB-INF/spring-security.xml 
b/geode-pulse/src/main/webapp/WEB-INF/spring-security.xml
index df9a503..8c39d26 100644
--- a/geode-pulse/src/main/webapp/WEB-INF/spring-security.xml
+++ b/geode-pulse/src/main/webapp/WEB-INF/spring-security.xml
@@ -74,13 +74,17 @@
        
        <beans:bean id="gemAuthenticationProvider" 
                
class="org.apache.geode.tools.pulse.internal.security.GemFireAuthenticationProvider">
-       </beans:bean>
+  </beans:bean>
 
+       <beans:bean id="passwordEncoder"
+         
class="org.springframework.security.crypto.password.NoOpPasswordEncoder"
+               factory-method="getInstance" />
 
        <!-- Default user authentication -->
        <beans:beans profile="pulse.authentication.default">
                <authentication-manager>
                        <authentication-provider>
+                               <password-encoder ref="passwordEncoder"/>
                                <user-service>
                                        <user name="admin" password="admin"
                                                                                
authorities="ROLE_CLUSTER:READ,ROLE_DATA:READ"/>

Reply via email to