Tag Archives: Spring Security

Showing User Information on JSP using Spring Security JSP Taglibs

Some times, we need to show user information like username or role of the logged in user on jsp page. Spring Security JSP taglibs provided tags for showing logged in user information in JSP pages. Off-course we can use Spring …

Read more »

Using custom tables for Spring Security authentication and authorization

It is not must to use database tables specified in the Spring Security Specification. We can also use our own custom database tables to store user authentication and authorization and use those tables in Spring Security for user authentication and …

Read more »

Url Permission Based User Interface Creation in Spring Security

In the previous tutorial, we learn how to customize jsp out put based on the role of the logged in user with the help of the Spring Security JSP Taglibs. Now, we will learn the way to customize the jsp …

Read more »

Role based User Interface creation using Spring JSP Taglibs

Spring Security provides jsp taglibs for customizing User Interface according the authenticated user’s role. We can make it possible to show some ui portion to user with role admin and not to others. This tutorial is based on the previous …

Read more »

User authentication and authorization in Spring Security using MySQL Database

It is always being desired to protect web application on the basis of the user details stored in some database Spring Security also provides facility for authenticating an user on the basis of database tables defined by Spring Security Framework …

Read more »

MySQL ddl tables definitions for Spring Security

Spring Security Framework can also be used to implement web security in project using database based authentications. Spring Security will use database tables to authenticate users. We can use any custom database table form authentications using Spring Security settings but …

Read more »

Customize Spring Security Settings

We can customize Spring Security settings to specify our own properties to be used by Spring. In this tutorial we will learn the setting that we can provide to use: Our own Login page. Specify the page to which the …

Read more »

Spring Security Configuration with Spring MVC

This tutorial will show you the way to configure Spring Security with Spring MVC web application to secure mvc pages. We will take an spring mvc web application example in which, we will configure Spring Security to protect a page …

Read more »