pauth.getAuths().add(AuthType.AUTHKEY);
pauth.getAuths().add(AuthType.BASIC);
pauth.getAuths().add(AuthType.IP_WHITE_LIST);
TargetHost th = new TargetHost();
th.setUrl("http://www.yahoo.com");
TargetHost th2 = new TargetHost();
th2.setUrl("http://www.google.com");
Authentication auth = new Authentication();
auth.setType("NoAuth");
Data d = new Data();
Key k = new Key();
k.setName("aKey00");
k.setValue("key000Val");
d.setKey(Arrays.asList(k));
auth.setData(d);
th.setAuthentication(auth);
th2.setAuthentication(auth);
env.setTargetHosts(Arrays.asList(th, th2));
api.setTdrEnabled(new TdrEnabled());
api.getTdrEnabled().setEnabled("true");