throws DiscoveryException {
// if discovered == null, we'll try again
if (discovered == null) {
Discovery discovery = consumerManager.getDiscovery();
@SuppressWarnings("unchecked")
List<DiscoveryInformation> discoveries = discovery.discover(openId);
if (discoveries == null || discoveries.size() == 0) {
throw new DiscoveryException("discovery on " + openId.getIdentifier() +
" failed.");
}