[Dive4elements-commits] [PATCH 02 of 21] Remove unused Assertion.getSiganture() method and the related field

Wald Commits scm-commit at wald.intevation.org
Wed May 8 18:08:12 CEST 2013


# HG changeset patch
# User Bernhard Herzog <bh at intevation.de>
# Date 1368028573 -7200
# Node ID f8d402c6d87a20d5227d7dff00abee45739c42ae
# Parent  1b939742629e1d20e069d540f116a0b95c610f4f
Remove unused Assertion.getSiganture() method and the related field
signature.

diff -r 1b939742629e -r f8d402c6d87a gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Assertion.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Assertion.java	Wed May 08 17:56:13 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Assertion.java	Wed May 08 17:56:13 2013 +0200
@@ -32,7 +32,6 @@
     private String group_name;
     private Date notbefore;
     private Date notonorafter;
-    private Signature signature;
 
     private static final String ATTR_CONT_USER_ID =
         "urn:conterra:names:sdi-suite:policy:attribute:user-id";
@@ -145,17 +144,6 @@
         return false;
     }
 
-    public Signature getSiganture() {
-        if (this.signature == null) {
-            Element signature = this.assertion.getChild("Signature",
-                    Namespaces.XML_SIG_NS);
-            if (signature != null) {
-                this.signature = new Signature(signature);
-            }
-        }
-        return this.signature;
-    }
-
     public String getUserID() {
         return this.user_id;
     }


More information about the Dive4elements-commits mailing list