Book Image

Spring Security [Video]

By : EUGEN PARASCHIV
Book Image

Spring Security [Video]

By: EUGEN PARASCHIV

Overview of this book

Table of Contents (7 chapters)
Chapter 5
Authorization with Spring Expressions
Content Locked
Section 1
Authorization With Expressions - URL
Introduce security expressions and show how to configure the security of a URL path in the Spring Security XML configuration; show an advanced example of using such expressions. - Recap the already introduced hasRole and hasAnyRole expressions for securing full URLs; introduce and show examples of isAnnonymous - Show further practical examples for isRememberMe, isAuthenticated and isFullyAuthenticated - Cover the more advanced security expressions such as hasIpAddress, and how to use the raw request object inside an expression