ome.annotations
Annotation Type RolesAllowed
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface RolesAllowed
Security annotation which specifies a list of user roles which will
be permitted to execute this method. A user role is obtained for an
Experimenter by being a member of an ExperimenterGroup. I.e. for:
@RolesAllowed({"user","system"})
an Experimenter
must be linked to either the ExperimenterGroup "user" or "system"
by a GroupExperimenterMap.
This annotation replaces the previously used version with the same
semantics from the JavaEE spec.
- Since:
- 4.0
- Author:
- Josh Moore, josh at glencoesoftware.com
value
public abstract String[] value
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.