In this section, we will be storing the user credentials and role information in the Apache directory server. Spring Security has to locate the server and log in to the server. It should authenticate the user by comparing the credentials submitted by the user and the credentials and role information present in the Apache directory server.
src/main/javafolder and the
WebContentFolder remain the same