Commit 402ac805 by Adi Amir

bugfix: cisco credential were not renewed after an hour.

parent 192b0089
Showing with 1 additions and 1 deletions
......@@ -491,7 +491,7 @@ public class CiscoManager {
}
private Boolean isAccessDenied(BaseRestResponse brr) {
if (brr.success == false && brr.objectNode != null) {
if (brr.success == false) {
int statusCode = brr.objectNode.get("statusCode").asInt();
Boolean bAccessDenied = (statusCode == 403 ||statusCode == 401);
return bAccessDenied;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment