Skip to content

webrian/GeoNetworkMd5PasswordEncoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Md5 Password Encoder for GeoNetwork

A MD5 password encoder for GeoNetwork, which has been developed and tested for version 2.10.3. It is probable that it works with other versions as well.

Installation

  • Clone the repository git clone https://github.com/webrian/GeoNetworkMd5PasswordEncoder.git
  • or download it from GitHub
  • Open the NetBeans project included in the repository and Clean and Build (Shift+F11) it
  • Copy the resulting GeoNetworkMd5PasswordEncoder to the /WEB-INF/lib directory in the GeoNetwork webapp
  • Update the configuration settings in /WEB-INF/config-security-core.xml

Replace the following lines

<bean class="org.springframework.security.crypto.password.StandardPasswordEncoder" id="geonetworkEncoder">
    <constructor-arg value="SHA-256"/>
    <constructor-arg value="${passwordSalt}"/>
</bean>

with

<bean class="ch.unibe.cde.geonet.kernel.security.Md5PasswordEncoder" id="geonetworkEncoder"/>
  • Restart Tomcat

About

A MD5 password encoder for GeoNetwork

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages