class ServerUsernameProvider implements UsernameProvider {

    @Override
    public String get() {
        try {
            return sessionInfo.getIdentity().getIdentifier();
        } catch (Exception e) {
            return "not-logged-user";
        }
    }

    public  ServerUsernameProvider();
    @Inject public  ServerUsernameProvider(final SessionInfo sessionInfo);

}