Skip to content

An Authentication object was not found in the SecurityContext #38

Description

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());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions