Examples of SessionConfigInfo


Examples of org.apache.geronimo.web.info.SessionConfigInfo

                normalizeUrlPatterns(servletMapping.getUrlPattern(), servletInfo.servletMappings);
            }
        }

        for (SessionConfig sessionConfig: webApp.getSessionConfig()) {
            SessionConfigInfo sessionConfigInfo = new SessionConfigInfo();
            sessionConfigInfo.sessionTimeoutMinutes = sessionConfig.getSessionTimeout() != null? sessionConfig.getSessionTimeout(): -1;
            List<SessionTrackingMode> modes = new ArrayList<SessionTrackingMode>();
            for (TrackingMode mode: sessionConfig.getTrackingMode()) {
                modes.add(SessionTrackingMode.valueOf(mode.value()));
            }
View Full Code Here

Examples of org.apache.geronimo.web.info.SessionConfigInfo

        for (String welcomeFile: webAppInfo.welcomeFiles) {
            context.addWelcomeFile(welcomeFile);
        }
        authenticatorConfig(webAppInfo.loginConfig);
        if (webAppInfo.sessionConfig != null) {
            SessionConfigInfo sessionConfig = webAppInfo.sessionConfig;
            context.setSessionTimeout(sessionConfig.sessionTimeoutMinutes);
            if (sessionConfig.sessionTrackingModes != null) {
                servletContext.setSessionTrackingModes(sessionConfig.sessionTrackingModes);
            }
            if (sessionConfig.sessionCookieConfig != null) {
View Full Code Here

Examples of org.apache.geronimo.web.info.SessionConfigInfo

        for (String welcomeFile: webAppInfo.welcomeFiles) {
            context.addWelcomeFile(welcomeFile);
        }
        authenticatorConfig(webAppInfo.loginConfig);
        if (webAppInfo.sessionConfig != null) {
            SessionConfigInfo sessionConfig = webAppInfo.sessionConfig;
            if (sessionConfig.sessionTimeoutMinutes != null) {
                context.setSessionTimeout(sessionConfig.sessionTimeoutMinutes);
            }
            if (sessionConfig.sessionTrackingModes != null) {
                servletContext.setSessionTrackingModes(sessionConfig.sessionTrackingModes);
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.