|
|
@@ -25,9 +25,9 @@ public class CustomFilter implements Filter {
|
|
25
|
25
|
throws IOException, ServletException {
|
|
26
|
26
|
HttpServletRequest request = (HttpServletRequest) arg0;
|
|
27
|
27
|
HttpSession session = request.getSession();
|
|
28
|
|
- String orgId = ObjectUtils.toString(request.getParameter("pOrgId"));
|
|
29
|
|
- if (orgId.isEmpty() && session != null){
|
|
30
|
|
- orgId = ObjectUtils.toString(session.getAttribute("depotId"),"");
|
|
|
28
|
+ String orgId = "";
|
|
|
29
|
+ if (session != null){
|
|
|
30
|
+ orgId = ObjectUtils.toString(session.getAttribute("orgId"),"");
|
|
31
|
31
|
}
|
|
32
|
32
|
if (!orgId.isEmpty()) {
|
|
33
|
33
|
DataPolicyEngine.set(orgId);
|