Revision d85cfdf3
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/bar/AuthenticatedUserBar.java | ||
---|---|---|
69 | 69 |
if(authenticatedUser == null) { |
70 | 70 |
text = "Not logged in " ; |
71 | 71 |
} else { |
72 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
|
73 |
CdmRemoteSource source = (CdmRemoteSource) CdmStore.getActiveCdmSource(); |
|
74 |
String loginInfo = authenticatedUser.getUsername() + "@" + source.getName() + ":" + source.getContextPath(); |
|
75 |
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().setText(ApplicationUtil.getTitle() + " " + loginInfo); |
|
76 |
} |
|
72 |
CdmRemoteSource source = (CdmRemoteSource) CdmStore.getActiveCdmSource(); |
|
73 |
String loginInfo = authenticatedUser.getUsername() + "@" + source.getName() + ":" + source.getContextPath(); |
|
74 |
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().setText(ApplicationUtil.getTitle() + " " + loginInfo); |
|
75 |
|
|
77 | 76 |
text = "Logged in as: " + authenticatedUser.getUsername() + " "; |
78 | 77 |
} |
79 | 78 |
|
Also available in: Unified diff
fix #5759 remove all switches for remoting and standalone