aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-05-14 17:19:18 +0200
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-05-14 17:19:18 +0200
commit5b1d68f71a77b80bd39a9c231090a9c63a892811 (patch)
tree89578c56b53f3bb5386a6ccace471b70a3b5707e /id
parente35dad4b75514aee5d1b019aa1cc44828a0b707b (diff)
downloadmoa-id-spss-5b1d68f71a77b80bd39a9c231090a9c63a892811.tar.gz
moa-id-spss-5b1d68f71a77b80bd39a9c231090a9c63a892811.tar.bz2
moa-id-spss-5b1d68f71a77b80bd39a9c231090a9c63a892811.zip
remove unused
Diffstat (limited to 'id')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java
index ade2a0301..9c7f45146 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java
@@ -197,62 +197,6 @@ public class MandateRetrievalRequest implements IAction {
}
- private void populateMandatingData(AuthenticationSession moasession) {
- MandateType mandateType = new MandateType();
- RepresentationPersonType representationPersonType = new RepresentationPersonType();
- MandateContentType mandateContentType = new MandateContentType();
- }
-
-
- private void populateRepresented(AuthenticationSession moasession) {
-
- MandateContainer mc = null;
-
- try {
- mc = new CorporateBodyMandateContainer(new String(moaSession.getMISMandate().getMandate(), "UTF-8"));
- } catch (Exception ex) {
- Logger.error("CORPORATE ERROR");
- try {
- mc = new PhyPersonMandateContainer(new String(moaSession.getMISMandate().getMandate(), "UTF-8"));
- } catch (Exception ex2) {
- Logger.error("PERSON ERROR");
- }
- }
-
- if (mc instanceof CorporateBodyMandateContainer) {
- Logger.error("Instance of Corp");
- } else if (mc instanceof PhyPersonMandateContainer) {
- Logger.error("Instance of Phy");
- }
-
-
- }
-
-
- private Node extractChildNode(Node node, String childName) throws MOAIDException {
- if (!node.hasChildNodes()) {
- throw new MOAIDException("stork.11", null); // TODO description
- }
- for (int n = 0; n < node.getChildNodes().getLength(); n++) {
- if (node.getChildNodes().item(n).getNodeName().equals(childName)) {
- return node.getChildNodes().item(n);
- }
- }
- throw new MOAIDException("stork.11", null); // TODO description
-
- }
-
- private String extractNodeTextContent(Node node, String childName) throws MOAIDException {
- if (!node.hasChildNodes()) {
- throw new MOAIDException("stork.11", null); // TODO description
- }
- for (int n = 0; n < node.getChildNodes().getLength(); n++) {
- if (node.getChildNodes().item(n).getNodeName().equals(childName)) {
- return node.getTextContent();
- }
- }
- throw new MOAIDException("stork.11", null); // TODO description
- }
private String mapPowersType(MandateContainer mandateContainer) { // TODO
return "";