November 2017
Intermediate to advanced
542 pages
14h 24m
English
As you might expect, SpEL handling is supplied by a different Voter implementation, o.s.s.web.access.expression.WebExpressionVoter, which understands how to evaluate the SpEL expressions. The WebExpressionVoter class relies on an implementation of the SecurityExpressionHandler interface for this purpose. The SecurityExpressionHandler interface is responsible both for evaluating the expressions and for supplying the security-specific methods that are referenced in the expressions. The default implementation of this interface exposes methods defined in the o.s.s.web.access.expression.WebSecurityExpressionRoot class.
The flow and relationship between these classes are shown in the following diagram:
Read now
Unlock full access