title: package javax.annotation.security does not exist
body: <p>I'm trying to start a Jersey/1.7 based project from scratch (as opposed to copying an existing project and adding new code on top, which is what my client normally does) in order to learn how stuff works. I'm stuck in a very early phase, trying to process a simple HTTP request:</p>
  
  <pre><code>package com.example.foo.view.rest;
  
  import javax.ws.rs.Path;
  import javax.annotation.security.RolesAllowed; // package javax.annotation.security does not exist
  
  @Path("user")
  @RolesAllowed("valid-users") // cannot find symbol
  public class UserService extends BaseService {
      public UserService() {
          super();
      }
  }
  </code></pre>
  
  <p>I've copied these files from another project:</p>
  
  <pre><code>asm-3.1.jar
  jackson-core-asl-1.9.2.jar
  jackson-jaxrs-1.9.2.jar
  jackson-mapper-asl-1.9.2.jar
  jackson-xc-1.9.2.jar
  jersey-client-1.17.jar
  jersey-core-1.17.jar
  jersey-json-1.17.jar
  jersey-multipart-1.17.jar
  jersey-server-1.17.jar
  jersey-servlet-1.17.jar
  jettison-1.1.jar
  jsr311-api-1.1.1.jar
  </code></pre>
  
  <p>Project authentication works with Oracle SSO (Oracle Identity Directory).</p>
  
  <p>The only <code>javax.annotation.security.RolesAllowed</code> I can find is an interface and I can certainly not see an actual implementation anywhere in my codebase. In fact the whole <code>javax.annotation.security</code> package is missing. I don't even know what library is supposed to provide it.</p>
  
  <p>I'd appreciate any hint, no matter how obvious it looks.</p>