Announcement Announcement Module
Collapse
No announcement yet.
domain data access restrictions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • domain data access restrictions

    Hi,
    I would like to restrict data visibility of the fields of a domain object based on role:

    example:
    i have a controller on RequestMapping("/rest/organization") which deliver Organization pojo as result (jsonified to be honest)

    now i would like to have something like @ROLE_CEO on pojo fields to show that certain data only to role CEO.

    is it possible?
    how does it interact with @Valid notations?

    thanks a lot for your time

    have a nice day

  • #2
    nobody knows ?

    Comment

    Working...
    X