Last active
July 7, 2020 07:38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static ArrayList<Integer> getPreAuthOperationList() { | |
ArrayList<Integer> modeList = new ArrayList<Integer>(); | |
modeList.add(151); | |
modeList.add(1503); | |
[...] | |
return modeList; | |
} | |
private void addEventAndEntityInPayload(HttpServletRequest req, JSONObject reqJson, int mode) { | |
try { | |
if (PRE_AUTH_OPERATIONS.contains(mode)) { | |
[...] | |
reqJson.remove("Event"); | |
reqJson.remove("Entity"); | |
CyberoamLogger.debug((String)"CSC", (String)("Request payload after sanitization: " + reqJson.toString())); | |
} | |
[...] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment