 <p>You have to register the Provider in a javax.ws.rs.core.Application. That Application should be registered as a service with a higher service ranking than the default one created by the Amdatu Wink bundle.</p> <p>The following is a working example.</p> <p>The Exception Mapper itself:</p> <pre><code>@Provider public class SecurityExceptionMapper implements ExceptionMapper&lt;SecurityException&gt;{ @Override public Response toResponse(SecurityException arg0) { return Response.status(403).build(); } } </code></pre> <p>The Application:</p> <pre><code>import java.util.HashSet; import java.util.Set; import javax.ws.rs.core.Application; import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider; public class MyApplication extends Application { @Override public Set&lt;Object&gt; getSingletons() { Set&lt;Object&gt; s = new HashSet&lt;Object&gt;(); s.add(new JacksonJsonProvider()); s.add(new SecurityExceptionMapper()); return s; } } </code></pre> <p>Activator setting the service ranking property.</p> <pre><code>public class Activator extends DependencyActivatorBase{ @Override public void destroy(BundleContext arg0, DependencyManager arg1) throws Exception { } @Override public void init(BundleContext arg0, DependencyManager dm) throws Exception { Properties props = new Properties(); props.put(Constants.SERVICE_RANKING, 100); dm.add(createComponent().setInterface(Application.class.getName(), props).setImplementation(MyApplication.class)); } } </code></pre>