portletTracking.setExpiration(portletWindow, timeoutMetadata);
if ((checkSecurityConstraints || this.enforceSecurityConstraint(portletDefinition)) &&
!checkSecurityConstraint(portletDefinition, fragment))
{
throw new PortletAccessDeniedException("Access Denied.");
}
if (portletTracking.isOutOfService(portletWindow))
{
log.info("Taking portlet out of service: " + portletDefinition.getUniqueName() + " for window " + portletWindow.getId());
fragment.overrideRenderedContent(outOfServiceMessage);