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

Annotated Support for Securing Return Values #14597

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

Annotated Support for Securing Return Values #14597

rwinch opened this issue Feb 13, 2024 · 0 comments
Assignees

Comments

@rwinch
Copy link
Member

rwinch commented Feb 13, 2024

It would be nice if we provided annotated support for securing returned values. For example:

@Service
class FooService {
  @AuthorizeReturnObject // @ApplyMethodSecurity (does not mention return value)
  public Foo foo() {
    return new Foo(); // we use new and we are using proxy based AOP but this is still secured!
  }
}

class Foo {
  @DenyAll
  String bar() {
    return "bar";
  }
}
@Autowired FooService fooService;
fooService.foo().bar(); // denied!
@jzheaux jzheaux self-assigned this Feb 27, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 1, 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 13, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 13, 2024
jzheaux added a commit to jzheaux/spring-security 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 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 to jzheaux/spring-security that referenced this issue Mar 14, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 15, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 15, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 18, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 18, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 19, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 19, 2024
jzheaux added a commit that referenced this issue Mar 19, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 20, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Mar 21, 2024
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 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 to jzheaux/spring-security that referenced this issue Mar 22, 2024
jzheaux added a commit that referenced this issue Mar 22, 2024
jzheaux added a commit that referenced this issue Mar 22, 2024
jzheaux added a commit that referenced this issue Mar 22, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Sep 16, 2024
jzheaux added a commit that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants