java - How to create security anotation like spring security -
i wonder how create security annotation spring security (@preauthorized or @secured) check session decide how application threat authority log on user.
is resource can read or recommendation?
best regards
ps: reason, cannot use spring security
the technique behind these annotations called aspect oriented programming (aop).
spring security relies on spring aop, allows intercept particular method calls on spring-managed object, can apply security checks them.
see aspect oriented programming spring. alternatively, if want without spring, see standalone aop implementations such aspectj.
Comments
Post a Comment