Annotation Type Secured
Lets this method -- or every public method of this class -- run only for a
caller holding one of these authorities, each written in full:
@Secured("ROLE_ADMIN").
Checked the way PreAuthorize is, self-calls and private methods included;
an annotation on a method replaces the one on its class.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueThe authorities, any one of which is enough.
-