@Override
public GlobalAuthorizationConfiguration create() {
Map<String, Role> rolesCfg = new HashMap<String, Role>();
for(GlobalRoleConfigurationBuilder role : this.roles.values()) {
Role roleCfg = role.create();
rolesCfg.put(roleCfg.getName(), roleCfg);
}
return new GlobalAuthorizationConfiguration(enabled, auditLogger, principalRoleMapper, rolesCfg);
}