few changes after testing the gateway

revert-70aa11f8
ayyoob 8 years ago
parent 671d931d3e
commit 44d09e09ea

@ -253,9 +253,14 @@ public class AnnotationProcessor {
this.setPermission(annotations[i], permission); this.setPermission(annotations[i], permission);
} }
} }
if (permission.getName() == null || permission.getPath() == null) {
log.warn("Permission not assigned to the resource url - " + permission.getMethod() + ":"
+ permission.getUrl());
} else {
permissions.add(permission); permissions.add(permission);
} }
} }
}
return permissions; return permissions;
} }

Loading…
Cancel
Save