private static final long serialVersionUID = 7908647379731614097L;
@Override
public AdminContextPayload getAdminContext() {
final RequestContext rc = getRequestContext();
final PersistContext mec = (PersistContext) rc.getServletContext().getAttribute(PersistContext.KEY);
final AppContext ac = (AppContext) rc.getServletContext().getAttribute(AppContext.KEY);
final Status status = new Status();
final com.tll.server.AdminContext sac =
(com.tll.server.AdminContext) rc.getSession().getAttribute(
com.tll.server.AdminContext.KEY);
if(sac == null) {
// presume not logged in yet
status.addMsg("Admin Context not found.", MsgLevel.INFO, MsgAttr.STATUS.flag);
return new AdminContextPayload(status, ac.isDebug(), ac.getEnvironment(), null, null);