Package org.jasig.portal.container.om.servlet

Examples of org.jasig.portal.container.om.servlet.SessionConfigImpl


                webAppE.appendChild(servletMappingE);
            }
        }
       
        // <session-config>
        SessionConfigImpl sessionConfig = webAppImpl.getSessionConfig();
        if (sessionConfig != null) {
            Element sessionConfigE = doc.createElement("session-config");
            addTextElement(sessionConfigE, "session-timeout", sessionConfig.getSessionTimeout());
            webAppE.appendChild(sessionConfigE);
        }
       
        // <mime-mapping>
        MimeMappingImpl[] mimeMappings = webAppImpl.getMimeMappings();
View Full Code Here


        }
        return servletMappings;
    }

    private SessionConfigImpl getSessionConfig(Element e) { 
        SessionConfigImpl sessionConfig = null;
        NodeList sessionConfigNL = e.getElementsByTagName("session-config");
        if (sessionConfigNL.getLength() > 0) {
            sessionConfig = new SessionConfigImpl();
            sessionConfig.setSessionTimeout(XML.getChildElementText(e, "session-timeout"));
        }
        return sessionConfig;
    }
View Full Code Here

TOP

Related Classes of org.jasig.portal.container.om.servlet.SessionConfigImpl

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.