November 2017
Intermediate to advanced
542 pages
14h 24m
English
The o.s.s.web.access.expression.WebSecurityExpressionRoot class makes a few additional properties available to us. These properties, along with the standard properties already mentioned, are made available in the access attribute of the antMatchers() method and in the JSP/Thymeleaf access attribute of the <sec:authorize> tag, as we will discuss shortly:
|
Expression |
Description |
|
request |
The current HttpServletRequest method. |
|
hasIpAddress(String... ipAddress) |
Returns true if the current IP address matches the ipAddress value. This can be an exact IP address or the IP address/network mask. |
Read now
Unlock full access