FederationRequest wfReq = new FederationRequest();
wfReq.setWa(FederationConstants.ACTION_SIGNIN);
wfReq.setWresult(rstr);
configurator = null;
FederationContext config = getFederationConfigurator().getFederationContext("CUSTTOK");
FederationProtocol fp = (FederationProtocol)config.getProtocol();
List<TokenValidator> validators = fp.getTokenValidators();
Assert.assertEquals("Two validators must be found", 2, validators.size());
Assert.assertEquals("First validator must be custom validator",
CustomValidator.class.getName(), validators.get(0).getClass().getName());