Changeset 1243 for trunk/src/org/expeditee/auth/tags/AuthenticationTag.java
- Timestamp:
- 03/15/19 16:51:32 (5 years ago)
- Location:
- trunk/src/org/expeditee/auth/tags
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/tags/AuthenticationTag.java
r1242 r1243 1 package org.expeditee.auth ;1 package org.expeditee.auth.tags; 2 2 3 3 import java.util.Collection; … … 15 15 NewPasswordAgain ("txtNewPasswordAgain", System.getProperty("user.new.password.again")), 16 16 Email ("txtEmail", System.getProperty("user.email")), 17 EmailAgain ("txtEmailAgain", System.getProperty("user.email.again")), 17 18 ColleagueOne ("txtColleagueOne", System.getProperty("user.colleague.one")), 18 ColleagueTwo ("txtColleagueTwo", System.getProperty("user.colleague.two")); 19 ColleagueTwo ("txtColleagueTwo", System.getProperty("user.colleague.two")), 20 Frameset ("txtFrameset", System.getProperty("user.toshare.frameset")); 19 21 20 22 public String val; 21 23 public String def; 22 24 23 private AuthenticationTag( final String tag, finalString def) {25 private AuthenticationTag(String tag, String def) { 24 26 this.val = tag; 25 27 this.def = def; … … 33 35 // use the canditate if it exists 34 36 if (canditate.hasData(tag.val)) { 35 fetchedData.put(tag, canditate.getText()); 37 if (tag.val.equals("txtUsername")) { 38 fetchedData.put(tag, canditate.getText().toLowerCase()); 39 } else { 40 fetchedData.put(tag, canditate.getText()); 41 } 36 42 break; 37 43 }
Note:
See TracChangeset
for help on using the changeset viewer.