www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,40 @@
|
|||
package it.acxent.cc.servlet;
|
||||
|
||||
import it.acxent.anag.Users;
|
||||
import it.acxent.db.ApplParmFull;
|
||||
import it.acxent.db.DBAdapter;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
public class ShowOrdineSvlt extends it.acxent.www.servlet.ShowOrdineSvlt {
|
||||
private static final long serialVersionUID = 3253536598483259418L;
|
||||
|
||||
protected void otherCommands(HttpServletRequest req, HttpServletResponse res) {
|
||||
super.otherCommands(req, res);
|
||||
}
|
||||
|
||||
public void _vediOrdineCrypt(HttpServletRequest req, HttpServletResponse res) {
|
||||
String l_id_userCript = getRequestParameter(req, "uc");
|
||||
if (l_id_userCript.isEmpty()) {
|
||||
super._vediOrdineCrypt(req, res);
|
||||
} else {
|
||||
String l_login = DBAdapter.deCrypt(l_id_userCript);
|
||||
if (!l_login.isEmpty()) {
|
||||
ApplParmFull apFull = getApFull(req);
|
||||
Users user = new Users(apFull);
|
||||
user.findByLogin(l_login);
|
||||
if (user.isNoReg()) {
|
||||
String ip = req.getRemoteHost();
|
||||
user.setCurrentIp(ip);
|
||||
req.getSession().setAttribute("utenteLogon", user);
|
||||
req.getSession().setAttribute("loginUser_id", new Long(user.getId_users()));
|
||||
super._vediOrdineCrypt(req, res);
|
||||
} else {
|
||||
search(req, res);
|
||||
}
|
||||
} else {
|
||||
search(req, res);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue