diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionDetails.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionDetails.java
index 214b48be..69eb7466 100644
--- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionDetails.java
+++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionDetails.java
@@ -65,6 +65,8 @@ public class ClientConnectionDetails implements MonitoringEntry {
new LocTextKey("sebserver.monitoring.connection.form.status");
private final static LocTextKey WRONG_SEB_CLIENT_TOOLTIP =
new LocTextKey("sebserver.finished.connection.form.info.wrong.client.tooltip");
+ private final static LocTextKey GRANTED_TEXT =
+ new LocTextKey("sebserver.monitoring.exam.connection.status.GRANTED");
private static final int NUMBER_OF_NONE_INDICATOR_ROWS = 3;
@@ -277,6 +279,9 @@ public class ClientConnectionDetails implements MonitoringEntry {
if (this.missingChanged || this.statusChanged) {
// update status
String stateName = this.localizedClientConnectionStatusNameFunction.apply(this);
+ if (stateName != null && getStatus().clientActiveStatus && this.grantChecked && !this.grantDenied) {
+ stateName = stateName + pageContext.getI18nSupport().getText(GRANTED_TEXT);
+ }
if (stateName != null) {
stateName = stateName.replace(" ", " ");
}
diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties
index 5c870bee..9ebacb9a 100644
--- a/src/main/resources/messages.properties
+++ b/src/main/resources/messages.properties
@@ -2234,6 +2234,7 @@ sebserver.monitoring.exam.connection.status.DISABLED=Canceled
sebserver.monitoring.exam.connection.status.MISSING_PING=Missing
sebserver.monitoring.exam.connection.status.MISSING_GRANT= (No ASK Grant)
sebserver.monitoring.exam.connection.status.GRANT_DENIED= - ASK Grant Denied
+sebserver.monitoring.exam.connection.status.GRANTED= (Granted)
sebserver.monitoring.exam.connection.info=SEB Version: {0}
Operating System: {1}
IP Address: {2}