Authorization

Spring Boot Security Example – Single Sign On using OAuth 2

Introduction Here we will see Spring Boot Security Example – Single Sign On using OAuth 2. Single Sign On or simply SSO is a property of access control of multiple related, yet independent, software systems, where a user logs in with a single set of credentials (username and password) to gain access. Here we will […]

@PreAuthorize annotation – hasPermission example in Spring Security

Introduction In this tutorial I will show you an example on @PreAuthorize annotation – hasPermission example in Spring Security. The most useful annotation @PreAuthorize, which decides whether a method can actually be invoked or not based on user’s role and permission. hasRole() method returns true if the current principal has the specified role and hasPermission() […]

@PreAuthorize annotation – hasRole example in Spring Security

Introduction In this tutorial I will show you an example on @PreAuthorize annotation – hasRole example in Spring Security. @PreAuthorize is the most useful annotation that decides whether a method can actually be invoked or not based on user’s role. hasRole() method returns true if the current principal has the specified role. By default if […]

How Siteminder works

Introduction This siteminder tutorial will show you how SiteMinder system works. This tutorial will give you technical insights of the working principle of SiteMinder system. Scenario Problem There may be situations where users access a web service hosted on a Apache Web server is authenticated by some authentication mechanism, let’s say, LDAP. If the same […]

Scroll to top