KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > security > forms > IpRestrictionInformationForm


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 JavaDoc allowed;
13     private String JavaDoc ip;
14     
15     public void initialise(String JavaDoc allowed, String JavaDoc ip) {
16         this.allowed = new Boolean JavaDoc(allowed);
17         this.ip = ip;
18     }
19     
20     public Boolean JavaDoc getAllowed() {
21         return allowed;
22     }
23
24     public void setAllowed(Boolean JavaDoc allowd) {
25         this.allowed = allowd;
26     }
27
28     public String JavaDoc getIp() {
29         return ip;
30     }
31
32     public void setIp(String JavaDoc ip) {
33         this.ip = ip;
34     }
35     
36     
37
38 }
39
Popular Tags