Expression-Based Access Control

Expression-Based Access Control#


Spring Security 3.0 introduced the ability to use Spring EL expressions as an authorization mechanism in addition to the simple use of configuration attributes and access-decision voters which have seen before. Expression-based access control is built on the same architecture but allows complicated boolean logic to be encapsulated in a single expression.

从spring security 3开始,可以通过Spring EL expressions来进行访问控制。基于表达式的访问控制可以把复杂的访问控制判断逻辑封装在一个EL表达式中。

Overview


  1. 来源
原文地址:https://www.cnblogs.com/h9527/p/5670270.html