Package org.waveprotocol.box.stat

Examples of org.waveprotocol.box.stat.SessionContext


      throws IOException, ServletException {
    if (Timing.isEnabled()) {
      Timing.enterScope();
      final HttpSession session = ((HttpServletRequest)request).getSession();
      final ParticipantId loggedInUser = (ParticipantId)session.getAttribute(SessionManager.USER_FIELD);
      Timing.setScopeValue(SessionContext.class, new SessionContext() {
        @Override
        public boolean isAuthenticated() {
          return session != null;
        }
View Full Code Here

TOP

Related Classes of org.waveprotocol.box.stat.SessionContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.