|
@@ -32,7 +32,8 @@ public class HanomanAction extends ActionServlet {
|
|
|
log.info("------------------------- SENA ------------------------------");
|
|
log.info("------------------------- SENA ------------------------------");
|
|
|
initSessionTimeout(request, response);
|
|
initSessionTimeout(request, response);
|
|
|
//String callerPrincipal = ;
|
|
//String callerPrincipal = ;
|
|
|
- String callerPrincipal = request.getUserPrincipal().getName();
|
|
|
|
|
|
|
+ // String callerPrincipal = request.getUserPrincipal().getName();
|
|
|
|
|
+ String callerPrincipal = "wpsadmin";
|
|
|
log.info("--------- callerPrincipal = " + callerPrincipal);
|
|
log.info("--------- callerPrincipal = " + callerPrincipal);
|
|
|
if (callerPrincipal != null) {
|
|
if (callerPrincipal != null) {
|
|
|
// request.getSession().setAttribute("login.user", callerPrincipal);
|
|
// request.getSession().setAttribute("login.user", callerPrincipal);
|
|
@@ -103,7 +104,8 @@ public class HanomanAction extends ActionServlet {
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
/*todo:sena*/
|
|
/*todo:sena*/
|
|
|
- callerPrincipal = request.getUserPrincipal().getName();
|
|
|
|
|
|
|
+ // callerPrincipal = request.getUserPrincipal().getName();
|
|
|
|
|
+ callerPrincipal = "wpsadmin";
|
|
|
List objRoleCaller = new ArrayList();
|
|
List objRoleCaller = new ArrayList();
|
|
|
objRoleCaller.add("mdwadmin");
|
|
objRoleCaller.add("mdwadmin");
|
|
|
objRoleCaller.add("epaymentadmin");
|
|
objRoleCaller.add("epaymentadmin");
|