Examples of sessionCreated()


Examples of org.apache.wicket.protocol.http.IRequestLogger.sessionCreated()

      id = httpSession.getId();

      IRequestLogger logger = Application.get().getRequestLogger();
      if (logger != null)
      {
        logger.sessionCreated(id);
      }
    }
    return id;
  }
View Full Code Here

Examples of org.apache.wicket.protocol.http.IRequestLogger.sessionCreated()

      id = httpSession.getId();

      IRequestLogger logger = Application.get().getRequestLogger();
      if (logger != null)
      {
        logger.sessionCreated(id);
      }
    }
    return id;
  }
View Full Code Here

Examples of org.apache.wicket.protocol.http.IRequestLogger.sessionCreated()

      id = httpSession.getId();

      IRequestLogger logger = Application.get().getRequestLogger();
      if (logger != null)
      {
        logger.sessionCreated(id);
      }
    }
    return id;
  }
View Full Code Here

Examples of org.hdiv.listener.InitListener.sessionCreated()

    // Initialize ServletContext
    ServletContextEvent servletContextEvent = new ServletContextEvent(servletContext);
    initListener.contextInitialized(servletContextEvent);
    // Initialize HttpSession
    HttpSessionEvent httpSessionEvent = new HttpSessionEvent(httpSession);
    initListener.sessionCreated(httpSessionEvent);

    // Init Request scoped data
    RequestInitializer requestInitializer = this.applicationContext.getBean(RequestInitializer.class);
    requestInitializer.initRequest(request, response);
    DataComposerFactory dataComposerFactory = (DataComposerFactory) this.applicationContext
View Full Code Here

Examples of org.pentaho.platform.web.http.session.PentahoHttpSessionListener.sessionCreated()

    MockHttpSession session = new MockHttpSession();
    HttpSession httpSession = session;
    HttpSessionEvent event = new HttpSessionEvent( httpSession );

    PentahoHttpSessionListener httpSessionListener = new PentahoHttpSessionListener();
    httpSessionListener.sessionCreated( event );
    PentahoHttpSessionListener.registerHttpSession( session.getId(), null, null, null,
        "Admin", session.getId(), Long.parseLong( "100000" ) ); //$NON-NLS-1$ //$NON-NLS-2$
    PentahoHttpSessionListener.deregisterHttpSession( session.getId() );
    httpSessionListener.sessionDestroyed( event );
View Full Code Here

Examples of org.picketlink.identity.federation.web.core.IdentityServer.sessionCreated()

    }

    // Get the Identity server
    private IdentityServer getIdentityServer(HttpSession session) {
        IdentityServer server = new IdentityServer();
        server.sessionCreated(new HttpSessionEvent(session));
        return server;
    }
}
View Full Code Here

Examples of org.springframework.security.web.session.HttpSessionEventPublisher.sessionCreated()

        MockHttpSession session = new MockHttpSession(servletContext);
        MockApplicationListener listener = (MockApplicationListener) context.getBean("listener");

        HttpSessionEvent event = new HttpSessionEvent(session);

        publisher.sessionCreated(event);

        assertNotNull(listener.getCreatedEvent());
        assertNull(listener.getDestroyedEvent());
        assertEquals(session, listener.getCreatedEvent().getSession());
View Full Code Here

Examples of org.springframework.security.web.session.HttpSessionEventPublisher.sessionCreated()

        HttpSessionEventPublisher publisher = new HttpSessionEventPublisher();
        MockServletContext servletContext = new MockServletContext();
        MockHttpSession session = new MockHttpSession(servletContext);
        HttpSessionEvent event = new HttpSessionEvent(session);

        publisher.sessionCreated(event);
    }

    // SEC-2599
    @Test(expected=IllegalStateException.class)
    public void sessionDestroyedNullApplicationContext() {
View Full Code Here

Examples of org.zkoss.zk.ui.util.Monitor.sessionCreated()

    config.invokeSessionInits(this, request); //it might throw exception

    final Monitor monitor = config.getMonitor();
    if (monitor != null) {
      try {
        monitor.sessionCreated(this);
      } catch (Throwable ex) {
        log.error(ex);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.