Consider Making Attribute Based Authorization Simpler to implement #13306
Labels
status: waiting-for-triage
An issue we've not yet triaged
theme: partner-use-cases
Use cases we identified with a partner (an established contributor)
type: enhancement
A general enhancement
In modern applications authorization decisions for different end points can take a look at many attributes of a request, who's logged in, the url being requested, the location the request is coming from, the type of authentication used to make the request (password, 2 factor, passkey, fido credentials ... etc, the type of device the user is using. Expressing complex authorization rules based on multiple request attributes is currently hard. The spring configuration DSL does not have enough expressiveness to capture complex authorization logic, it is common to see snippets of code such as
authorizeRequests.requestMatchers("/myendpoint").permitAll();
This code has two problems.Ideally the configuration DSL for spring should have an easy way for developers to express more complex authorization rules based on multiple attribute of a request, and more nuanced authorization decision beyond yes/no.
related to #13266
The text was updated successfully, but these errors were encountered: