Security framework for java with object granularity

I am looking for a security framework for Java web application with Object granularity. What it means is that I don't just want to filter by urls or by roles, but by specific user ownership of domain objects inside the system. For example, if there is a `Message` object that has a `Sender` user and a `Receiver` user I would like to be able to configure it so that every Message can be RW by its sender and RO by its receiver. Or for example, all user profiles are viewable by all users but editable only by the owner. This rules, of course, I would like to define them with meta data (annotations, xml files, whatever) and not embedded in my business logic. Is there such a beast out there? Preferably open source.
I've upvoted Matt B, but I'd suggest there's nothing wrong with building your own bespoke solution here. There is often a general tendency to try to crowbar in a generic framework, when in fact it's often lower risk / less development time to simply write your own, especially in this case where your entitlements model sounds fairly simple.

以上就是Security framework for java with object granularity的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏