summaryrefslogtreecommitdiff
path: root/BKUWebStart/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'BKUWebStart/src/main/java')
-rw-r--r--BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/IdentityLinkInvoker.java (renamed from BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/PersonIdentityLinkInvoker.java)14
-rw-r--r--BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/Launcher.java4
-rw-r--r--BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/BKUControllerInterface.java2
-rw-r--r--BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/MOCCAIcon.java4
4 files changed, 12 insertions, 12 deletions
diff --git a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/PersonIdentityLinkInvoker.java b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/IdentityLinkInvoker.java
index 249d7a15..9709a01f 100644
--- a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/PersonIdentityLinkInvoker.java
+++ b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/IdentityLinkInvoker.java
@@ -36,13 +36,13 @@ import at.gv.egiz.bku.webstart.gui.StatusNotifier;
*
* @author Andreas Fitzek <andreas.fitzek@iaik.tugraz.at>
*/
-public class PersonIdentityLinkInvoker implements Runnable {
+public class IdentityLinkInvoker implements Runnable {
- private static final Logger log = LoggerFactory.getLogger(PersonIdentityLinkInvoker.class);
+ private static final Logger log = LoggerFactory.getLogger(IdentityLinkInvoker.class);
private StatusNotifier status;
- public PersonIdentityLinkInvoker(StatusNotifier status) {
+ public IdentityLinkInvoker(StatusNotifier status) {
this.status = status;
}
@@ -50,7 +50,7 @@ public class PersonIdentityLinkInvoker implements Runnable {
public void run() {
HttpURLConnection connection = null;
try {
- log.info("Connecting to: " + Launcher.IDENTITY_LINK_URL);
+ log.debug("Connecting to: " + Launcher.IDENTITY_LINK_URL);
connection = (HttpURLConnection) Launcher.IDENTITY_LINK_URL.openConnection();
@@ -59,12 +59,12 @@ public class PersonIdentityLinkInvoker implements Runnable {
connection.connect();
if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) {
- log.info("person identity link dialog returned");
+ log.debug("identity link dialog returned");
} else {
- log.error("unexpected response from person identity link: " + connection.getResponseMessage());
+ log.error("unexpected response from identity link: " + connection.getResponseMessage());
}
} catch (IOException ex) {
- log.error("Failed to connect to person identity link", ex);
+ log.error("Failed to connect to identity link", ex);
status.error(StatusNotifier.ERROR_IDENTITY_LINK);
} finally {
if (connection != null) {
diff --git a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/Launcher.java b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/Launcher.java
index 0e510e2f..4cf5ed1f 100644
--- a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/Launcher.java
+++ b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/Launcher.java
@@ -321,8 +321,8 @@ public class Launcher implements BKUControllerInterface {
}
@Override
- public void personIdentityLink(Locale locale) {
- new Thread(new PersonIdentityLinkInvoker(status)).start();
+ public void getIdentityLink(Locale locale) {
+ new Thread(new IdentityLinkInvoker(status)).start();
}
@Override
diff --git a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/BKUControllerInterface.java b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/BKUControllerInterface.java
index 8c05f137..48704a3c 100644
--- a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/BKUControllerInterface.java
+++ b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/BKUControllerInterface.java
@@ -38,7 +38,7 @@ public interface BKUControllerInterface {
public void getCertificate(Locale locale);
- public void personIdentityLink(Locale locale);
+ public void getIdentityLink(Locale locale);
public void hardwareInfo(Locale locale);
diff --git a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/MOCCAIcon.java b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/MOCCAIcon.java
index f0b60877..eaf2bee5 100644
--- a/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/MOCCAIcon.java
+++ b/BKUWebStart/src/main/java/at/gv/egiz/bku/webstart/gui/MOCCAIcon.java
@@ -274,8 +274,8 @@ public class MOCCAIcon implements StatusNotifier, ActionListener, ItemListener {
break;
case IDENTITYLINK_COMMAND:
- log.debug("person identity link dialog requested via tray menu");
- controller.personIdentityLink(messages.getLocale());
+ log.debug("identity link dialog requested via tray menu");
+ controller.getIdentityLink(messages.getLocale());
break;
default: