You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the documentation I would like to use RepresentationModelProcessor to:
Leverage cross cutting services like Spring Security to add, remove, or revise links based upon the current user’s context.
Could it be possible to provide a sample for such a case ?
I.e.: if I have a service.create() method secured with @PreAuthorize("isMember(#id)") I would like to use the same logic to add/hide link to representation accordingly.