1 package com.sslexplorer.security.forms; 2 3 import org.apache.commons.logging.Log; 4 import org.apache.commons.logging.LogFactory; 5 6 import com.sslexplorer.core.forms.CoreForm; 7 8 public class IpRestrictionInformationForm extends CoreForm { 9 10 final static Log log = LogFactory.getLog(IpRestrictionInformationForm.class); 11 12 private Boolean allowed; 13 private String ip; 14 15 public void initialise(String allowed, String ip) { 16 this.allowed = new Boolean (allowed); 17 this.ip = ip; 18 } 19 20 public Boolean getAllowed() { 21 return allowed; 22 } 23 24 public void setAllowed(Boolean allowd) { 25 this.allowed = allowd; 26 } 27 28 public String getIp() { 29 return ip; 30 } 31 32 public void setIp(String ip) { 33 this.ip = ip; 34 } 35 36 37 38 } 39 | Popular Tags |