1 19 20 package com.sslexplorer.security.forms; 21 22 import org.apache.struts.action.ActionMapping; 23 24 import com.sslexplorer.core.forms.CoreForm; 25 26 32 public class PromptForSessionPasswordForm extends CoreForm { 33 34 private String password; 36 private String forwardTo; 37 private String target; 38 private String folder; 39 40 45 public String getPassword() { 46 return password; 47 } 48 49 54 public void setPassword(String password) { 55 this.password = password.trim(); 56 } 57 58 64 public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) { 65 super.reset(mapping, request); 66 password = null; 67 } 68 69 74 public void setForwardTo(String forwardTo) { 75 this.forwardTo = forwardTo; 76 } 77 78 83 public String getForwardTo() { 84 return forwardTo; 85 } 86 87 92 public void setTarget(String target) { 93 this.target = target; 94 } 95 96 101 public String getTarget() { 102 return target; 103 } 104 105 111 public void setFolder(String folder) { 112 this.folder = folder; 113 } 114 115 121 public String getFolder() { 122 return folder; 123 } 124 } | Popular Tags |