Spring Security

courses-details

Spring Security

  • Description
  • Curriculum

Spring Security

Below examples explain in-detail the various features of spring security.

Spring Security Examples

Spring Security – Login Form Example

The scope of this tutorial is to:

  • Only authorized user should be able to access edit employee screen.
  • Unauthorized users should be presented with login screen.
  • Successful credentials should forward to edit employee screen.
  • Unsuccessful credentials should forward to access denied screen.
  • There should be a link for logout of the application.
Spring Security – JDBC User Service Example

Example of used to fetch username and password from database to authenticate user into the system.


Spring Security – HTTP Basic Authentication Example

Example of used to enforce the user to authenticate any of webpage or any other resource in your application with basic http authentication.


Spring Security – Custom UserDetailsService Example

Learn to extend and use UserDetailsService interface which is used in order to lookup the username, password and granted authorities for any given user.


Spring Security – Method Level Security Example – @PreAuthorize and @Secured

Learn to implement method level security in spring applications.


Spring Security – View Layer Security using JSP Taglibs

Learn to add security in view layer. It is mostly needed when we want to hide certain links or buttons based on user’s role so that he will not be able to access that functionality.


Spring Security – Unit testing Spring Security Authentication

Learn the way to test spring authentication techniques to foolproof the system from outer attacks.


Spring Security – Siteminder Pre-authentication Example

Learn to use spring security when user has been pre-authenticated in any other application and get into your web application using siteminder.


Spring Security – Method Level Security with protect-pointcut

Learn to use XML based security configuration.