@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented @SecurityBindingType public @interface RolesAllowed
Defines an authorization constraint that checks if an authenticated Account
is granted with
one or more roles.
The constraint is validated before method invocation.
public abstract String[] value
The name(s) of the role(s) allowed to access.
Copyright © 2015. All rights reserved.