Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Assertion.java @ 5937:302b3497677c
Remove unused method Assertion.getID() and the relate field
assertion_id.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Wed, 08 May 2013 17:56:13 +0200 |
parents | f8d402c6d87a |
children |
comparison
equal
deleted
inserted
replaced
5936:3ce02ac72855 | 5937:302b3497677c |
---|---|
23 | 23 |
24 private static Logger logger = Logger.getLogger(Assertion.class); | 24 private static Logger logger = Logger.getLogger(Assertion.class); |
25 | 25 |
26 private Element assertion; | 26 private Element assertion; |
27 private LinkedList<String> roles; | 27 private LinkedList<String> roles; |
28 private String assertion_id; | |
29 private String user_id; | 28 private String user_id; |
30 private String name_id; | 29 private String name_id; |
31 private String group_id; | 30 private String group_id; |
32 private String group_name; | 31 private String group_name; |
33 private Date notbefore; | 32 private Date notbefore; |
44 | 43 |
45 | 44 |
46 public Assertion(Element assertion) { | 45 public Assertion(Element assertion) { |
47 this.assertion = assertion; | 46 this.assertion = assertion; |
48 this.roles = new LinkedList<String>(); | 47 this.roles = new LinkedList<String>(); |
49 | |
50 this.assertion_id = assertion.getAttributeValue("AssertionID"); | |
51 | |
52 this.parseContition(); | 48 this.parseContition(); |
53 this.parseAttributeStatement(); | 49 this.parseAttributeStatement(); |
54 } | 50 } |
55 | 51 |
56 private void parseContition() { | 52 private void parseContition() { |
158 | 154 |
159 public String getGroupName() { | 155 public String getGroupName() { |
160 return this.group_name; | 156 return this.group_name; |
161 } | 157 } |
162 | 158 |
163 public String getID() { | |
164 return this.assertion_id; | |
165 } | |
166 | |
167 public Date getFrom() { | 159 public Date getFrom() { |
168 return this.notbefore; | 160 return this.notbefore; |
169 } | 161 } |
170 | 162 |
171 public Date getUntil() { | 163 public Date getUntil() { |