Package org.exoplatform.services.security.web

Examples of org.exoplatform.services.security.web.HttpSessionStateKey


         if (log.isDebugEnabled())
            log.debug("Current conversation state is not set");

         if (httpSession != null)
         {
            StateKey stateKey = new HttpSessionStateKey(httpSession);
            // initialize thread local SessionProvider
            state = stateRegistry.getState(stateKey);
            if (state != null)
               provider = new SessionProvider(state);
            else if (log.isDebugEnabled())
View Full Code Here


         if (log.isDebugEnabled())
            log.debug("Current conversation state is not set");

         if (httpSession != null)
         {
            StateKey stateKey = new HttpSessionStateKey(httpSession);
            // initialize thread local SessionProvider
            state = stateRegistry.getState(stateKey);
            if (state != null)
               provider = new SessionProvider(state);
            else if (log.isDebugEnabled())
View Full Code Here

            LOG.debug("Current conversation state is not set");
         }

         if (httpSession != null)
         {
            StateKey stateKey = new HttpSessionStateKey(httpSession);
            // initialize thread local SessionProvider
            state = stateRegistry.getState(stateKey);
            if (state != null)
            {
               provider = new SessionProvider(state);
View Full Code Here

    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        HttpServletRequest httpRequest = (HttpServletRequest) request;
        HttpServletResponse httpResponse = (HttpServletResponse) response;

        HttpSession httpSession = httpRequest.getSession();
        StateKey stateKey = new HttpSessionStateKey(httpSession);

        ExoContainer container = getContainer();

        ConversationRegistry conversationRegistry =
                (ConversationRegistry) container.getComponentInstanceOfType(ConversationRegistry.class);
View Full Code Here

         if (log.isDebugEnabled())
            log.debug("Current conversation state is not set");

         if (httpSession != null)
         {
            StateKey stateKey = new HttpSessionStateKey(httpSession);
            // initialize thread local SessionProvider
            state = stateRegistry.getState(stateKey);
            if (state != null)
               provider = new SessionProvider(state);
            else if (log.isDebugEnabled())
View Full Code Here

    }

    // Register given conversationState into ConversationRegistry. Key will be current Http session
    private void registerConversationState(HttpServletRequest req, ConversationState conversationState) {
        HttpSession httpSession = req.getSession();
        StateKey stateKey = new HttpSessionStateKey(httpSession);

        ConversationRegistry conversationRegistry = (ConversationRegistry)getContainer().getComponentInstanceOfType(ConversationRegistry.class);
        conversationRegistry.register(stateKey, conversationState);
    }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.security.web.HttpSessionStateKey

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.