@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface RolesAllowed
RolesAllowed
annotation
is a list of security role names.
This annotation can be specified on a class or on method(s). Specifying it
at a class level means that it applies to all the methods in the class.
Specifying it on a method means that it is applicable to that method only.
If applied at both the class and methods level, the method value overrides
the class value if the two conflict.public abstract String[] value
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.