Skip to content

Commit

Permalink
Fix: JacksonFeature not registered (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
fridolin-koch authored May 23, 2022
1 parent 5537fcc commit 49aea86
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ public void init(Session session, Map<String, String> parameters) throws OpenAS2
// Now needed to define packages in Jersey 3.0
final ResourceConfig rc = new ResourceConfig();
rc.packages("org.openas2.cmd.processor.restapi");
rc.packages("org.glassfish.jersey.jackson");
rc.register(SecurityEntityFilteringFeature.class);
rc.register(EntityFilteringFeature.class);
rc.register(RolesAllowedDynamicFeature.class);
rc.register(JacksonFeature.class);
//rc.registerClasses(LoggerRequestFilter.class);
URI baseUri = URI.create(parameters.getOrDefault("baseuri", BASE_URI));

Expand Down

0 comments on commit 49aea86

Please sign in to comment.