List of usage examples for org.springframework.security.util InMemoryResource InMemoryResource
public InMemoryResource(byte[] source)
From source file:cherry.foundation.navi.NavigatorImplTest.java
private Navigator create(String def) throws IOException { NavigatorImpl impl = new NavigatorImpl(); impl.setObjectMapper(objectMapper);//w w w.ja v a 2 s.c o m impl.setNavigationDef(new InMemoryResource(def)); impl.afterPropertiesSet(); return impl; }