protected void configure(HttpSecurity http) throws Exception {
String[] defroles = {"USER", "MOD", "ADMIN"};
Map<String, String> confMap = Config.getConfigMap();
ConfigObject c = Config.getConfig().getObject("security.protected");
for (ConfigValue cv : c.values()) {
ArrayList<String> patterns = new ArrayList<String>();
ArrayList<String> roles = new ArrayList<String>();
for (ConfigValue configValue : (ConfigList) cv) {
if (configValue instanceof List) {