16 |
|
//acl.add(ACL.DENY, "*"); |
17 |
|
|
18 |
|
// dump our ACL to the console before serialization |
19 |
< |
System.out.println("BEFORE: "+acl.getStringACL()); |
19 |
> |
System.out.println("BEFORE: " + acl); |
20 |
|
|
21 |
|
// name for our serialized ACL |
22 |
|
String aclFilename = "aclfile"; |
47 |
|
} |
48 |
|
|
49 |
|
// dump our ACL to the console after serialization |
50 |
< |
System.out.println("AFTER: "+acl.getStringACL()); |
50 |
> |
System.out.println("AFTER: " + acl); |
51 |
|
|
52 |
|
// run a few tests |
53 |
|
System.out.println("killigrew.ukc.ac.uk: " + acl.check("killigrew.ukc.ac.uk")); |