2
![Stack Overflow](http://sstatic.net/stackoverflow/img/apple-touch-icon.png)
I think you want import javax.annotation.Security.RolesAllowed;
The annotation itself looks like this
@Path("/helloworld")
@RolesAllowed({"ADMIN", "ORG1"})
public class helloWorld {
@GET
@Path("sayHello")
@Produces("text/plain")
@RolesAllows("ADMIN")
public String sayHello() {
return "Hel...