SiteKey siteKey = pageNodeEvent.getSiteKey();
if (siteKey != null) {
if (pcontext.getRemoteUser() == null
&& (siteKey.getType().equals(SiteType.GROUP) || siteKey.getType().equals(SiteType.USER))) {
NavigationService service = uiPortalApp.getApplicationComponent(NavigationService.class);
NavigationContext navContext = service.loadNavigation(siteKey);
if (navContext != null) {
uiPortalApp.setLastRequestNavData(null);
pcontext.requestAuthenticationLogin();
return;
}