Code example for PropertyPermission

0
            new SocketPermission("www.test3.com", "resolve,connect"), 
            new SocketPermission("www.test4.com", "listen"), 
            }; 
 
    private static final Permission[] propp = new Permission[]{ 
        new PropertyPermission("user.home", "read"), 
            new PropertyPermission("java.home", "write"), 
            new PropertyPermission("test.home", "write"), 
            new PropertyPermission("test1.home", "read"), 
            new PropertyPermission("test2.home", "read"), 
            }; 
 
    private static final Permission[] basicp = new Permission[] { 
        new NetPermission("setDefaultAuthenticator"), 
            new NetPermission("requestPasswordAuthentication"), 
            new NetPermission("specifyStreamHandler") 
            }; 
 
    private static final Permission[] delegatep = new Permission[] { 
        new DelegationPermission( 
            "\"host/foo.example.com@EXAMPLE.COM\" \"cn=John,o=imc,c=us\""),