title: Jboss RestEasy Oauth2
body: <p>I want develop REST service with oauth2 security. I selected JBOSS Stack technology <strong>JBOSS.8(wildfly)+RestEasy.3.0.5</strong>. In <code>RestEasy</code> guide i founded how to enable oauth module.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
          &lt;dependencies&gt;
              &lt;module name="org.jboss.resteasy.resteasy-yaml-provider" services="import"/&gt;
              &lt;module name="org.jboss.resteasy.resteasy-jsapi" services="import"/&gt;
              &lt;module name="org.jboss.resteasy.resteasy-jackson-provider" services="import"/&gt;
              &lt;module name="org.jboss.resteasy.skeleton-key"/&gt;
              &lt;module name="org.jboss.resteasy.resteasy-multipart-provider" services="import"/&gt;
              &lt;module name="org.jboss.resteasy.resteasy-jaxrs" services="import"/&gt;
      &lt;/dependencies&gt;
  &lt;/deployment&gt;
  </code></pre>
  
  <p></p>
  
  <p>After start <code>JBOSS</code> write in logs </p>
  
  <blockquote>
    <p>JBAS018759: Failed to load module: deployment.Astron-Service_Web.war:main
        Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.resteasy.skeleton-key:main"}}</p>
  </blockquote>
  
  <p>How to fix. Or how to easy implement security on rest service?</p>