/** * Populate the response with claim values. If we can't find the required values with us, we * simply avoid sending them. An Identity Provider MAY return any subset of the following fields * in response to the query. * * @param claimValues Claim values. * @throws MessageException */ protected void setAttributeExchangeValues(FetchResponse response, Map<String, OpenIDClaimDTO> claimValues) throws MessageException { Iterator<Entry<String, OpenIDClaimDTO>> iterator = null; Entry<String, OpenIDClaimDTO> entry = null; OpenIDClaimDTO claim = null; iterator = claimValues.entrySet().iterator(); while (iterator.hasNext()) { entry = iterator.next(); claim = entry.getValue(); response.addAttribute(claim.getClaimUri(), claim.getClaimValue()); } } }
/** * Populate the response with claim values. If we can't find the required values with us, we * simply avoid sending them. An Identity Provider MAY return any subset of the following fields * in response to the query. * * @param claimValues Claim values. * @throws MessageException */ protected void setAttributeExchangeValues(FetchResponse response, Map<String, OpenIDClaimDTO> claimValues) throws MessageException { Iterator<Entry<String, OpenIDClaimDTO>> iterator = null; Entry<String, OpenIDClaimDTO> entry = null; OpenIDClaimDTO claim = null; iterator = claimValues.entrySet().iterator(); while (iterator.hasNext()) { entry = iterator.next(); claim = entry.getValue(); response.addAttribute(claim.getClaimUri(), claim.getClaimValue()); } } }
resp.addAttribute(alias, (String) attributes.get(alias), (String) value); resp.addAttribute(alias, (String) attributes.get(alias), val);
resp.addAttribute(alias, (String) attributes.get(alias), (String)value); resp.addAttribute(alias, (String) attributes.get(alias), val);
resp.addAttribute(alias, (String) attributes.get(alias), (String)value); resp.addAttribute(alias, (String) attributes.get(alias), val);
resp.addAttribute(alias, (String) attributes.get(alias), (String)value); resp.addAttribute(alias, (String) attributes.get(alias), val);
resp.addAttribute(alias, (String) attributes.get(alias), (String)value); resp.addAttribute(alias, (String) attributes.get(alias), val);
fetchResponse.addAttribute(alias, typeUri, value); fetchResponse.addAttribute(alias, typeUri, value);
FetchResponse.createFetchResponse(fetchReq, userDataExt); fetchResp.addAttribute("email", "http://schema.openid.net/contact/email", email); response.addExtension(fetchResp);
FetchResponse.createFetchResponse(fetchReq, userDataExt); fetchResp.addAttribute("email", "http://schema.openid.net/contact/email", email); response.addExtension(fetchResp);
FetchResponse.createFetchResponse(fetchReq, userDataExt); fetchResp.addAttribute("email", "http://schema.openid.net/contact/email", email); response.addExtension(fetchResp);
FetchResponse.createFetchResponse(fetchReq, userDataExt); fetchResp.addAttribute("email", "http://schema.openid.net/contact/email", email); response.addExtension(fetchResp);
FetchResponse.createFetchResponse(fetchReq, userDataExt); fetchResp.addAttribute("email", "http://schema.openid.net/contact/email", email); response.addExtension(fetchResp);