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

Required Element Summary
 String[] value
           
 

Element Detail

value

public abstract String[] value


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.