Skip to content

SEC-2452: obtainSecurityMetadataSource from database #2672

@spring-projects-issues

Description

@spring-projects-issues

zhangyuan (Migrated from SEC-2452) said:

Thank you for your great work , guys.
In our system, different users have different roles, different roles have different authorities, that is common, ritht?
The problem is before our system is start up, our programers have no idea which role have which kind of authorities, for example, they donn't konw '/produdt/insert.action' belongs to 'insert' role, so they cann't write this authorities code in our system. this should be done be a administrator in a web page, add a RequestMatcher and ConfigAttribute or some kind of that stuff in the web page, when the user login in the page, query the obtainSecurityMetadataSource from database each time or form the cache, that is what I'm looking for.
But in version like 3.2.0 or below, it is hard to extend some spring security classes to do the right thing, I have to write a lot of code by myself. I'm wondering is there any chances you guys can make a nicer interfate for me to extend?
Thank you.

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions