When should I use denyAll safety annotation?

In what situations is annotation used javax.annotation.security.DenyAll?

+5
source share
1 answer

It can be used for a method that for some reason should be publicly available (perhaps it implements an interface), but should never be called directly. It can be called from other methods in the same object.

http://openejb.apache.org/security-annotations.html

+4
source

All Articles