* Add dispatcher and security handler to inFlowPhases
*/
for (Iterator<Phase> iterator = phases.iterator(); iterator.hasNext();) {
Phase phase = (Phase) iterator.next();
if ("Security".equals(phase.getPhaseName())) {
phase.addHandler(new MyProxySecurityHandler());
phase.addHandler(new AmazonSecurityHandler());
} else if ("Dispatch".equals(phase.getPhaseName())) {
phase.addHandler(new GFacURIBasedDispatcher(), 0);
}
}