When added @Push annotation to ui class and try to navigate another view i'm getting this error:
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
DiscoveryNavigator securedNav = new DiscoveryNavigator(this, this);
Button click:
DiscoveryNavigator dn = (DiscoveryNavigator) UI.getCurrent().getNavigator();
dn.navigateTo((String) event.getButton().getData());
When added @Push annotation to ui class and try to navigate another view i'm getting this error:
Button click: