String sessionCustomizerClassName = sessionConfig.getSessionCustomizerClass();
if (sessionCustomizerClassName != null) {
try {
Class sessionCustomizerClass = m_classLoader.loadClass(sessionCustomizerClassName);
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
((SessionCustomizer)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(sessionCustomizerClass))).customize(session);
}else{
((SessionCustomizer)PrivilegedAccessHelper.newInstanceFromClass(sessionCustomizerClass)).customize(session);
}
} catch (Throwable exception) {
throw SessionLoaderException.failedToLoadTag("session-customizer-class", sessionCustomizerClassName, exception);