public void setResourcePath(String resourcePath) {
if(permissionToRoleMapper != null) {
throw new IllegalStateException("Permissions already set, " + permissionToRoleMapper.getClass().getName());
}
final Ini ini = Ini.fromResourcePath(resourcePath);
this.permissionToRoleMapper = new PermissionToRoleMapperFromIni(ini);
}