Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatic Proxy Support for Method Security #14596

Closed
Tracked by #14595
rwinch opened this issue Feb 13, 2024 · 0 comments · Fixed by #14716
Closed
Tracked by #14595

Programmatic Proxy Support for Method Security #14596

rwinch opened this issue Feb 13, 2024 · 0 comments · Fixed by #14716
Assignees
Labels
in: core An issue in spring-security-core type: enhancement A general enhancement

Comments

@rwinch
Copy link
Member

rwinch commented Feb 13, 2024

It would be nice if we could support programmatic support for proxying objects with method security. For example:

class Foo {
  @DenyAll
  String bar() {
    return "bar";
  }
}
Foo secured = security.proxy(new Foo());
secured.bar(); // denied!
@rwinch rwinch added the type: enhancement A general enhancement label Feb 13, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 1, 2024
@jzheaux jzheaux self-assigned this Mar 5, 2024
@jzheaux jzheaux added the in: core An issue in spring-security-core label Mar 5, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 11, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 11, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 11, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 12, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 12, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 12, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 13, 2024
jzheaux added a commit that referenced this issue Mar 13, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 14, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 14, 2024
jzheaux added a commit that referenced this issue Mar 15, 2024
- Ensure Reasonable Defaults
- Simplify Construction

Issue gh-14596
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 22, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 22, 2024
jzheaux added a commit that referenced this issue Mar 22, 2024
To prevent package tangles

Issue gh-14596
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core An issue in spring-security-core type: enhancement A general enhancement
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants