public void addAttribute(String attr, String value) throws MessageException
{
_parameters.set(new Parameter(attr, value));
if (! SREG_FIELDS.contains(attr))
throw new MessageException("Invalid attribute for SReg: " + attr);
if (DEBUG)
_log.debug("Added new attribute to SReg response: " + attr +
" value: " + value);
}