PortalReservedParameters.PAGE_THEME_OVERRIDE_ATTRIBUTE,
decoratorName);
}
Boolean portalFiltered = Boolean.valueOf((String)request.getAttribute(PortalReservedParameters.PORTAL_FILTER_ATTRIBUTE));
PortalAuthenticationConfiguration authenticationConfiguration = (PortalAuthenticationConfiguration)
Jetspeed.getComponentManager().getComponent("org.apache.jetspeed.administration.PortalAuthenticationConfiguration");
if (!portalFiltered && authenticationConfiguration.isCreateNewSessionOnLogin())
{
ActiveAuthenticationIdentityProvider identityProvider = (ActiveAuthenticationIdentityProvider)
Jetspeed.getComponentManager().getComponent("org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider");
IdentityToken token = identityProvider.createIdentityToken(username);