Skip to content
Permalink
Browse files
Drop @PreMatching - no need for it
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
  • Loading branch information
davidkarlsen committed Apr 8, 2019
1 parent 2484a8d commit 8ad341b9700632ba4a949762b37ec0cea604bfbf
Showing 2 changed files with 0 additions and 4 deletions.
@@ -23,7 +23,6 @@
import javax.ws.rs.client.ClientRequestContext;
import javax.ws.rs.client.ClientResponseContext;
import javax.ws.rs.client.ClientResponseFilter;
import javax.ws.rs.container.PreMatching;
import javax.ws.rs.ext.Provider;

import org.apache.cxf.rs.security.httpsignature.exception.SignatureException;
@@ -32,7 +31,6 @@
* RS CXF client Filter which extracts signature data from the context and sends it to the message verifier
*/
@Provider
@PreMatching
@Priority(Priorities.AUTHENTICATION)
public class VerifySignatureClientFilter extends AbstractSignatureInFilter implements ClientResponseFilter {

@@ -23,14 +23,12 @@
import javax.ws.rs.Priorities;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerRequestFilter;
import javax.ws.rs.container.PreMatching;
import javax.ws.rs.ext.Provider;

/**
* RS CXF container Filter which extracts signature data from the context and sends it to the message verifier
*/
@Provider
@PreMatching
@Priority(Priorities.AUTHENTICATION)
public class VerifySignatureFilter extends AbstractSignatureInFilter implements ContainerRequestFilter {

0 comments on commit 8ad341b

Please sign in to comment.