- String translation = webInterface.l10n().getString(key);
- return new JsonObject().put("value", translation);
+ String translation = webInterface.getL10n().getString(key);
+ return createSuccessJsonObject().put("value", translation);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean needsFormPassword() {
+ return false;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean requiresLogin() {
+ return false;