ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filter/TCPReader.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/TCPReader.java (file contents):
Revision 1.13 by tdb, Tue Mar 19 17:22:12 2002 UTC vs.
Revision 1.14 by tdb, Wed Mar 20 12:56:37 2002 UTC

# Line 60 | Line 60 | class TCPReader extends Thread {
60           */
61      public void run(){
62          // get our ACL from the configuration
63 <        ACL tcpACL = null;
63 >        ACL acl = null;
64          try {
65              String stringACL = ConfigurationProxy.getInstance().getProperty(FilterMain.NAME, "Filter.TCPACL");
66 <            tcpACL = new ACL(stringACL);
66 >            acl = new ACL(stringACL);
67          }
68          catch(PropertyNotFoundException e) {
69              _logger.write(toString(), Logger.WARNING, "No ACL found for TCPReader: " + e);
# Line 73 | Line 73 | class TCPReader extends Thread {
73          try{
74                          // Setup the ServerSocket so that clients can connect
75                          // use an ACLServerSocket if we have an ACL
76 <                        if(tcpACL != null) {
77 <                            listenPort = new ACLServerSocket(tcpACL, _port);
76 >                        if(acl != null) {
77 >                            listenPort = new ACLServerSocket(acl, _port);
78                          }
79                          else {
80                  listenPort = new ServerSocket(_port);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines