Fixed issue with denied reason not being displayed.
This commit is contained in:
parent
cb8f612b09
commit
bc1de26b53
@ -981,7 +981,7 @@ public class delegationServices {
|
||||
String pKey = (String) Filter.get("platformKey");
|
||||
String version = (String) Filter.get("platformVersion");
|
||||
String platformUpdateNotes = (String) Filter.get("platformUpdateNotes");
|
||||
String denyReason = (String) Filter.get("deniedmsg");
|
||||
String dr = (String) Filter.get("deniedmsg");
|
||||
System.out.println("ApiGrabbed");
|
||||
|
||||
|
||||
@ -1011,6 +1011,8 @@ public class delegationServices {
|
||||
{
|
||||
updateQuery.append("$set",
|
||||
new BasicDBObject().append("type", 50));
|
||||
updateQuery7.append("$set",
|
||||
new BasicDBObject().append("dn", dr));
|
||||
System.out.println("Denied");
|
||||
}
|
||||
|
||||
@ -1023,14 +1025,15 @@ public class delegationServices {
|
||||
updateQuery6.append("$set",
|
||||
new BasicDBObject().append("status", true));
|
||||
updateQuery7.append("$set",
|
||||
new BasicDBObject().append("dn", denyReason));
|
||||
new BasicDBObject().append("dn", dr));
|
||||
System.out.println(dr);
|
||||
System.out.println("Sending Info To Forwarding Server");
|
||||
dCollection.updateOne(searchQuery, updateQuery);
|
||||
dCollection.updateOne(searchQuery, updateQuery2);
|
||||
dCollection.updateOne(searchQuery, updateQuery3);
|
||||
dCollection.updateOne(searchQuery, updateQuery4);
|
||||
dCollection.updateOne(searchQuery, updateQuery6);
|
||||
dCollection.updateOne(searchQuery, updateQuery7);
|
||||
dCollection.updateOne(searchQuery, updateQuery6);
|
||||
//delegationTimer.trigger();
|
||||
System.out.println("Pushed");
|
||||
delegationTimer.DeleteTargetRequest(ClientID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user