Replace xml based default security model configuration with groovy config