Examples of evictUserContentCache()


Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

                        request.getSession().invalidate();
                    }
                    else
                    {
                        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)cm.getComponent("userContentCacheManager");
                        userContentCacheManager.evictUserContentCache(username, request.getSession().getId());
                    }
                    if (authUser.getUser() == null)
                    {
                        try
                        {
View Full Code Here

Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

            request.getSession().invalidate();
          }
          else
          {
                        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)cm.getComponent("userContentCacheManager");
                        userContentCacheManager.evictUserContentCache(username, request.getSession().getId());
          }
          subject = null;
          try
          {
            // load the user principals (roles, groups, credentials)
View Full Code Here

Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

        PortalStatistics statistics = (PortalStatistics)engine.getComponentManager().getComponent("PortalStatistics");
        long sessionLength = System.currentTimeMillis() - se.getSession().getCreationTime();
        String ipAddress = (String)se.getSession().getAttribute(SecurityValve.IP_ADDRESS);
        statistics.logUserLogout(ipAddress, subjectUserPrincipal.getName(), sessionLength);   
        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)engine.getComponentManager().getComponent("userContentCacheManager");
        userContentCacheManager.evictUserContentCache(subjectUserPrincipal.getName(), se.getSession().getId());
    }
          
    /**
     * Extendable and overridable default main request error handling method.
     * <p>
 
View Full Code Here

Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

        session.removeAttribute(LoginConstants.RETRYCOUNT);
        session.removeAttribute(PortalReservedParameters.PREFERED_LOCALE_ATTRIBUTE);

        ComponentManager cm = Jetspeed.getComponentManager();
        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)cm.getComponent("userContentCacheManager");
        userContentCacheManager.evictUserContentCache(username, session.getId());
        AuditActivity audit = (AuditActivity)cm.getComponent("org.apache.jetspeed.audit.AuditActivity");
        if (audit != null)
        {
            audit.logUserActivity(username, request.getRemoteAddr(), AuditActivity.AUTHENTICATION_SUCCESS, "Active Authentication");
        }
View Full Code Here

Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

        PortalStatistics statistics = (PortalStatistics)engine.getComponentManager().getComponent("PortalStatistics");
        long sessionLength = System.currentTimeMillis() - se.getSession().getCreationTime();
        String ipAddress = (String)se.getSession().getAttribute(SecurityValve.IP_ADDRESS);
        statistics.logUserLogout(ipAddress, subjectUserPrincipal.getName(), sessionLength);   
        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)engine.getComponentManager().getComponent("userContentCacheManager");
        userContentCacheManager.evictUserContentCache(subjectUserPrincipal.getName(), se.getSession().getId());
    }
          
    /**
     * Extendable and overridable default main request error handling method.
     * <p>
 
View Full Code Here

Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

            request.getSession().invalidate();
          }
          else
          {
                        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)cm.getComponent("userContentCacheManager");
                        userContentCacheManager.evictUserContentCache(username, request.getSession().getId());
          }
          subject = null;
          try
          {
            // load the user principals (roles, groups, credentials)
View Full Code Here

Examples of org.apache.jetspeed.cache.UserContentCacheManager.evictUserContentCache()

                        request.getSession().invalidate();
                    }
                    else
                    {
                        UserContentCacheManager userContentCacheManager = (UserContentCacheManager)cm.getComponent("userContentCacheManager");
                        userContentCacheManager.evictUserContentCache(username, request.getSession().getId());
                    }
                    if (authUser.getUser() == null)
                    {
                        try
                        {
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.