Alternatives to spring-security in Java (spring)

≡放荡痞女 提交于 2019-11-29 12:10:05

问题


I'm looking for a good security framework that allows to annotate parameter based access rules to methods.

Basicly i want to check if the authenticated user is allowed to call a certain method with a specific object as a parameter.

Spring security would serve my needs but because of this (spring forum) i'm looking for alternatives if i'm unable to get it to work.

Requirements:

  • method security based on config or annotations, i want to avoid puting my security code insite my service methods
  • rules are based on parameters of the methods, simple role based security is not enough
  • spring support out of the box is a plus

Any recommendations?


回答1:


Apache Shiro stands in competition to Spring Security. Is easier, covers more. See here.



来源:https://stackoverflow.com/questions/10124859/alternatives-to-spring-security-in-java-spring

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!