SecurityJacksonModules->SecurityJackson2Modules

Fixes gh-4121
This commit is contained in:
Rob Winch
2016-11-09 16:40:24 -06:00
parent 36f4f7d081
commit f0a9421aa4
22 changed files with 41 additions and 39 deletions

View File

@@ -19,7 +19,7 @@ package org.springframework.security.web.jackson2;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Before;
import org.springframework.security.jackson2.SecurityJacksonModules;
import org.springframework.security.jackson2.SecurityJackson2Modules;
/**
* @author Jitenra Singh
@@ -33,6 +33,6 @@ public abstract class AbstractMixinTests {
public void setup() {
mapper = new ObjectMapper();
ClassLoader loader = getClass().getClassLoader();
mapper.registerModules(SecurityJacksonModules.getModules(loader));
mapper.registerModules(SecurityJackson2Modules.getModules(loader));
}
}