Skip to content

SEC-2080: Add principal name based checks to SecurityExpressionRoot #2309

@spring-projects-issues

Description

@spring-projects-issues

Michael Osipov (Migrated from SEC-2080) said:

For now, Spring Sec supports role-based or pass-all-or-nothing access checks.

Checks like is(String username), isAny(String... username), isPrincipal, isAnyPrincipal would cover other useful cases.

In may env there are only roles for the prod system but not the test system or an authz system where the developer has no write access to, like Active Directory. Quick setups like access="is('michael-o@jira')" would ease this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreAn issue in spring-security-coretype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions