summaryrefslogtreecommitdiff
path: root/BKULocal
diff options
context:
space:
mode:
Diffstat (limited to 'BKULocal')
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalBKUWorker.java12
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalGetCertificateSTALFactory.java (renamed from BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalGETCertificateSTALFactory.java)4
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetCertificateServlet.java (renamed from BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GETCertificateServlet.java)18
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetHardwareInfoServlet.java6
-rw-r--r--BKULocal/src/main/webapp/WEB-INF/web.xml14
5 files changed, 27 insertions, 27 deletions
diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalBKUWorker.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalBKUWorker.java
index 7947c117..a7d930b3 100644
--- a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalBKUWorker.java
+++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalBKUWorker.java
@@ -26,8 +26,8 @@ package at.gv.egiz.bku.local.stal;
import at.gv.egiz.bku.gui.BKUGUIFacade;
import at.gv.egiz.bku.smccstal.AbstractBKUWorker;
-import at.gv.egiz.bku.smccstal.GETCertificateRequestHandler;
-import at.gv.egiz.bku.smccstal.GETHardwareInfoRequestHandler;
+import at.gv.egiz.bku.smccstal.GetCertificateRequestHandler;
+import at.gv.egiz.bku.smccstal.GetHardwareInfoRequestHandler;
import at.gv.egiz.bku.smccstal.PINManagementRequestHandler;
import at.gv.egiz.bku.smccstal.IdentityLinkRequestHandler;
import at.gv.egiz.stal.QuitRequest;
@@ -36,8 +36,8 @@ import at.gv.egiz.stal.STALResponse;
import at.gv.egiz.stal.SignRequest;
import at.gv.egiz.stal.ext.IdentityLinkRequest;
-import at.gv.egiz.stal.ext.GETCertificateRequest;
-import at.gv.egiz.stal.ext.GETHardwareInfoRequest;
+import at.gv.egiz.stal.ext.GetCertificateRequest;
+import at.gv.egiz.stal.ext.GetHardwareInfoRequest;
import at.gv.egiz.stal.ext.PINManagementRequest;
import java.util.List;
import javax.swing.JFrame;
@@ -57,8 +57,8 @@ public class LocalBKUWorker extends AbstractBKUWorker {
new LocalSignRequestHandler(new LocalSecureViewer(gui)));
addRequestHandler(PINManagementRequest.class, new PINManagementRequestHandler());
addRequestHandler(IdentityLinkRequest.class, new IdentityLinkRequestHandler());
- addRequestHandler(GETCertificateRequest.class, new GETCertificateRequestHandler());
- addRequestHandler(GETHardwareInfoRequest.class, new GETHardwareInfoRequestHandler());
+ addRequestHandler(GetCertificateRequest.class, new GetCertificateRequestHandler());
+ addRequestHandler(GetHardwareInfoRequest.class, new GetHardwareInfoRequestHandler());
}
/** does not change container's visibility (use quit request to close) */
diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalGETCertificateSTALFactory.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalGetCertificateSTALFactory.java
index 50c6c632..56d6e251 100644
--- a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalGETCertificateSTALFactory.java
+++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalGetCertificateSTALFactory.java
@@ -50,9 +50,9 @@ import org.slf4j.LoggerFactory;
* @author Thomas Lenz <thomas.lenz@iaik.tugraz.at>
*/
-public class LocalGETCertificateSTALFactory implements STALFactory {
+public class LocalGetCertificateSTALFactory implements STALFactory {
- private final Logger log = LoggerFactory.getLogger(LocalGETCertificateSTALFactory.class);
+ private final Logger log = LoggerFactory.getLogger(LocalGetCertificateSTALFactory.class);
protected static final Dimension PREFERRED_SIZE = new Dimension(318, 200);
protected URL helpURL;
protected Locale locale;
diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GETCertificateServlet.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetCertificateServlet.java
index d23937f9..23c08bd5 100644
--- a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GETCertificateServlet.java
+++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetCertificateServlet.java
@@ -37,27 +37,27 @@ import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import at.gv.egiz.bku.local.stal.LocalGETCertificateSTALFactory;
+import at.gv.egiz.bku.local.stal.LocalGetCertificateSTALFactory;
import at.gv.egiz.stal.QuitRequest;
import at.gv.egiz.stal.STAL;
import at.gv.egiz.stal.STALResponse;
-import at.gv.egiz.stal.ext.GETCertificateRequest;
+import at.gv.egiz.stal.ext.GetCertificateRequest;
/**
*
* @author Thomas Lenz <thomas.lenz@iaik.tugraz.at>
*/
-public class GETCertificateServlet extends HttpServlet {
+public class GetCertificateServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
- private final Logger log = LoggerFactory.getLogger(GETCertificateServlet.class);
+ private final Logger log = LoggerFactory.getLogger(GetCertificateServlet.class);
- LocalGETCertificateSTALFactory stalFactory;
+ LocalGetCertificateSTALFactory stalFactory;
- public GETCertificateServlet() {
- log.debug("Constuctor: " + GETCertificateServlet.class);
- stalFactory = new LocalGETCertificateSTALFactory();
+ public GetCertificateServlet() {
+ log.debug("Constuctor: " + GetCertificateServlet.class);
+ stalFactory = new LocalGetCertificateSTALFactory();
try {
stalFactory.setHelpURL("http://localhost:3495/help/");
} catch (MalformedURLException e) {
@@ -77,7 +77,7 @@ public class GETCertificateServlet extends HttpServlet {
STAL getCerTificateSTAL = stalFactory.createSTAL();
- List<STALResponse> stalResps = getCerTificateSTAL.handleRequest(Collections.singletonList(new GETCertificateRequest()));
+ List<STALResponse> stalResps = getCerTificateSTAL.handleRequest(Collections.singletonList(new GetCertificateRequest()));
log.debug("Received STAL reponse {}.", stalResps.get(0).getClass());
diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetHardwareInfoServlet.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetHardwareInfoServlet.java
index dc7762a8..51ed2d8d 100644
--- a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetHardwareInfoServlet.java
+++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/GetHardwareInfoServlet.java
@@ -41,7 +41,7 @@ import at.gv.egiz.bku.local.stal.LocalGetHardwareInfoSTALFactory;
import at.gv.egiz.stal.QuitRequest;
import at.gv.egiz.stal.STAL;
import at.gv.egiz.stal.STALResponse;
-import at.gv.egiz.stal.ext.GETHardwareInfoRequest;
+import at.gv.egiz.stal.ext.GetHardwareInfoRequest;
/**
*
@@ -56,7 +56,7 @@ public class GetHardwareInfoServlet extends HttpServlet {
LocalGetHardwareInfoSTALFactory stalFactory;
public GetHardwareInfoServlet() {
- log.debug("Constuctor: " + GetHardwareInfoServlet.class);
+ log.debug("Constructor: " + GetHardwareInfoServlet.class);
stalFactory = new LocalGetHardwareInfoSTALFactory();
try {
stalFactory.setHelpURL("http://localhost:3495/help/");
@@ -77,7 +77,7 @@ public class GetHardwareInfoServlet extends HttpServlet {
STAL getHardwareInfoSTAL = stalFactory.createSTAL();
- List<STALResponse> stalResps = getHardwareInfoSTAL.handleRequest(Collections.singletonList(new GETHardwareInfoRequest()));
+ List<STALResponse> stalResps = getHardwareInfoSTAL.handleRequest(Collections.singletonList(new GetHardwareInfoRequest()));
log.debug("Received STAL reponse {}.", stalResps.get(0).getClass());
diff --git a/BKULocal/src/main/webapp/WEB-INF/web.xml b/BKULocal/src/main/webapp/WEB-INF/web.xml
index 41d5ab37..136905b6 100644
--- a/BKULocal/src/main/webapp/WEB-INF/web.xml
+++ b/BKULocal/src/main/webapp/WEB-INF/web.xml
@@ -52,11 +52,11 @@
<servlet-class>at.gv.egiz.bku.local.webapp.IdentityLinkServlet</servlet-class>
</servlet>
<servlet>
- <servlet-name>GETCertificateServlet</servlet-name>
- <servlet-class>at.gv.egiz.bku.local.webapp.GETCertificateServlet</servlet-class>
+ <servlet-name>GetCertificateServlet</servlet-name>
+ <servlet-class>at.gv.egiz.bku.local.webapp.GetCertificateServlet</servlet-class>
</servlet>
<servlet>
- <servlet-name>GETHardwareInfoServlet</servlet-name>
+ <servlet-name>GetHardwareInfoServlet</servlet-name>
<servlet-class>at.gv.egiz.bku.local.webapp.GetHardwareInfoServlet</servlet-class>
</servlet>
<servlet-mapping>
@@ -77,12 +77,12 @@
<url-pattern>/IdentityLink</url-pattern>
</servlet-mapping>
<servlet-mapping>
- <servlet-name>GETCertificateServlet</servlet-name>
- <url-pattern>/GETCertificate</url-pattern>
+ <servlet-name>GetCertificateServlet</servlet-name>
+ <url-pattern>/GetCertificate</url-pattern>
</servlet-mapping>
<servlet-mapping>
- <servlet-name>GETHardwareInfoServlet</servlet-name>
- <url-pattern>/GETHardwareinfo</url-pattern>
+ <servlet-name>GetHardwareInfoServlet</servlet-name>
+ <url-pattern>/GetHardwareinfo</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>