Skip to content
Snippets Groups Projects
Commit ee9e31e7 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Changed namespace for system property

parent 411a33e4
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ public class ManagerResourceImpl implements ManagerResource{
// to find which user the batch system operates on behalf of ("batchSystemClientId")
if(user.getVipsCoreUserId().equals(VIPS_BATCH_SYSTEM_USER_ID))
{
String[] allowedIPS = System.getProperty("no.bioforsk.vips.core.VIPSBATCH_ALLOWED_IPS").split(",");
String[] allowedIPS = System.getProperty("no.bioforsk.vips.coremanager.VIPSBATCH_ALLOWED_IPS").split(",");
String remoteIP = servletRequest.getRemoteAddr();
boolean isIPValid = false;
for(String allowedIP:allowedIPS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment