Package org.impalaframework.web.servlet.qualifier

Examples of org.impalaframework.web.servlet.qualifier.WebAttributeQualifier


    protected Filter getDelegateFilter(ServletRequest request) {
        ServletContext servletContext = getServletContext();

        ModuleManagementFacade moduleManagementFacade = ImpalaServletUtils.getModuleManagementFacade(servletContext);
        WebAttributeQualifier qualifier = getWebAttributeQualifier(moduleManagementFacade);
        String applicationId = getApplicationId(moduleManagementFacade);
       
        String attributeName = qualifier.getQualifiedAttributeName(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, applicationId, targetModuleName);
       
        WebApplicationContext applicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext, attributeName);
       
        if (applicationContext == null) {
            throw new ConfigurationException("No root web application context associated with module '" + targetModuleName + "'");
View Full Code Here


       
        if (session == null) {
            return null;
        }           
       
        final WebAttributeQualifier webAttributeQualifier = getWebAttributeQualifier();
       
        if (enableModuleSessionProtection) {
           
            if (logger.isDebugEnabled()) {
                logger.debug("Session module protection turned on for session wrapping");
View Full Code Here

       
        return session;
    }

    private WebAttributeQualifier getWebAttributeQualifier() {
        final WebAttributeQualifier webAttributeQualifier;
       
        if (enablePartitionedServletContext && this.webAttributeQualifier != null) {
           
            if (logger.isDebugEnabled()) {
                logger.debug("Servlet context partitioning and web attribute qualifier set to " + this.webAttributeQualifier.getClass().getName());
View Full Code Here

       
        if (session == null) {
            return null;
        }           
       
        final WebAttributeQualifier webAttributeQualifier = getWebAttributeQualifier();
       
        if (enableModuleSessionProtection) {
           
            if (logger.isDebugEnabled()) {
                logger.debug("Session module protection turned on for session wrapping");
View Full Code Here

       
        return session;
    }

    private WebAttributeQualifier getWebAttributeQualifier() {
        final WebAttributeQualifier webAttributeQualifier;
       
        if (enablePartitionedServletContext && this.webAttributeQualifier != null) {
           
            if (logger.isDebugEnabled()) {
                logger.debug("Servlet context partitioning and web attribute qualifier set to " + this.webAttributeQualifier.getClass().getName());
View Full Code Here

TOP

Related Classes of org.impalaframework.web.servlet.qualifier.WebAttributeQualifier

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.