Skip to content

Programmatic Proxy Support for Method Security #14596

Closed
@rwinch

Description

@rwinch

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!

Metadata

Metadata

Assignees

Labels

in: coreAn issue in spring-security-coretype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions