*
*/
protected void refreshUserIdentity(){
JosmUserIdentityManager im = JosmUserIdentityManager.getInstance();
try {
OsmServerUserInfoReader infoReader = new OsmServerUserInfoReader();
UserInfo info = infoReader.fetchUserInfo(getProgressMonitor().createSubTaskMonitor(1, false));
im.setFullyIdentified(info.getDisplayName(), info);
} catch(OsmTransferException e) {
// retrieving the user info can fail if the current user is not authorised to
// retrieve it, i.e. if he is working with an OAuth Access Token which doesn't
// have the respective privileges or if he didn't or he can't authenticate with