Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String base64String = "";
- final String base64Action = Base64Utils.encode(String.valueOf(windowCode));
- final String username = (String) this.req.getSession().getAttribute("j_username_crm");
- if ((username != null) && !username.isEmpty()) {
- final String base64Username = Base64Utils.encode(username.toLowerCase());
- final String base64Password = Base64Utils.encode((String) this.req.getSession().getAttribute("j_password_crm"));
- final String base64Ps = Base64Utils.encode(this.crmContext.get(CRM.salesPointOfBranch));
- base64String = base64Action + "," + base64Username + "," + base64Password + "," + base64Ps;
- base64String = base64String.replace("=", "");
- this.req.getSession().setAttribute("base64String", base64String);
- IframeHelper.invokeFrameset(this.req, this.resp, Frameset.DESTROY_CARD_DB, parametersTop, parametersBot);
- }
- else {
- final HttpSession s = this.req.getSession();
- s.invalidate();
- this.req.getRequestDispatcher("/page/crm/invalidSession.jsp").forward(this.req, this.resp);
- return;
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement