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);