Map userDataExt = new HashMap();
userDataExt.put("email", "someone@someplace.com");
FetchResponse fetchResp = FetchResponse.createFetchResponse(fetchReq, userDataExt);
// (alternatively) manually add attribute values
//fetchResp.addAttribute("email", "http://schema.openid.net/contact/email", email);
messageResponse.addExtension(fetchResp);
}
}
else //if (ext instanceof StoreRequest)
{
throw new UnsupportedOperationException("TODO");