Fork me on GitHub

Running Demo Application

Check out demo application

Fork me on GitHub: https://github.com/bloomreach-forge/hst-spring-security.

Build the project using Maven:

$ mvn install

And, build and run the demo in the demo subfolder.

$ cd demo
$ mvn clean verify
$ mvn -P cargo.run
        

Testing the Demo Application

  • By default, you can navigate any page except of profile and admin pages without authentication. Please refer to the configuration in /WEB-INF/applicationContext-security.xml for the access configuration.
  • If you sign in by admin/admin or siteadmin/siteadmin, then you will be able to navigate all both admin and profile pages.
  • If you sign in by editor/editor or author/author, then you will be able to navigate only the profile page.
  • If you click on logout button, then you will be logged out and navigated back to the login page.