58 |
|
*/ |
59 |
|
public void run() { |
60 |
|
// get our ACL from the configuration |
61 |
< |
ACL udpACL = null; |
61 |
> |
ACL acl = null; |
62 |
|
try { |
63 |
|
String stringACL = ConfigurationProxy.getInstance().getProperty(FilterMain.NAME, "Filter.UDPACL"); |
64 |
< |
udpACL = new ACL(stringACL); |
64 |
> |
acl = new ACL(stringACL); |
65 |
|
} |
66 |
|
catch(PropertyNotFoundException e) { |
67 |
|
_logger.write(toString(), Logger.WARNING, "No ACL found for UDPReader: " + e); |
71 |
|
DatagramSocket socket = null; |
72 |
|
try { |
73 |
|
// use an ACLServerSocket if we have an ACL |
74 |
< |
if(udpACL != null) { |
75 |
< |
socket = new ACLDatagramSocket(udpACL, _port); |
74 |
> |
if(acl != null) { |
75 |
> |
socket = new ACLDatagramSocket(acl, _port); |
76 |
|
} |
77 |
|
else { |
78 |
|
socket = new DatagramSocket(_port); |