Skip to content

Investigate how to reduce the need for @JsonSerialize #15661

Closed
@jzheaux

Description

@jzheaux

To JSON serialize the proxied objects that are the result of using @AuthorizeReturnObject, it's necessary to annotate the proxied object with something like:

@JsonSerialize(as = MyObject.class)

It would be nice if this boilerplate weren't necessary.

Metadata

Metadata

Assignees

No one assigned

    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