Commit 16b3feab authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch 'ui-147-subsets-feedback-to-data-providers' into 'master'

Configure JsonSidConverter for Audited model serialization

See merge request genesys-pgr/genesys-server!316
parents 6cbf4a6a 7fc39103
......@@ -24,7 +24,9 @@ import;
import org.genesys.blocks.util.JsonSidConverter;
import org.genesys2.server.cache.HazelcastAclCache;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.CacheManager;
import org.springframework.context.annotation.Bean;
......@@ -45,13 +47,19 @@ import;
//@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true)
@Import({ AccountLockoutConfig.class })
public class SecurityConfig {
public class SecurityConfig implements InitializingBean {
private DataSource dataSource;
private CacheManager cacheManager;
public void afterPropertiesSet() throws Exception {
// Configure JsonSidConverter
* Session registry.
......@@ -108,6 +116,7 @@ public class SecurityConfig {
public CustomAclService customAclService() {
System.err.println("Making ACL service!!");
return new CustomAclServiceImpl();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment