code: protected void putCasResponseAttributesIntoModel(final Map<String, Object> model,
                                                       final Map<String, Object> attributes,
                                                       final RegisteredService registeredService,
                                                       final CasProtocolAttributesRenderer attributesRenderer) {
  
          LOGGER.trace("Beginning to encode attributes for the response");
          val encodedAttributes = this.protocolAttributeEncoder.encodeAttributes(attributes, registeredService);
  
          LOGGER.debug("Encoded attributes for the response are [{}]", encodedAttributes);
          putIntoModel(model, CasProtocolConstants.VALIDATION_CAS_MODEL_ATTRIBUTE_NAME_ATTRIBUTES, encodedAttributes);
  
          val formattedAttributes = attributesRenderer.render(encodedAttributes);
          putIntoModel(model, CasProtocolConstants.VALIDATION_CAS_MODEL_ATTRIBUTE_NAME_FORMATTED_ATTRIBUTES, formattedAttributes);
      }
docs: Put cas response attributes into model.
  
  @param model              the model
  @param attributes         the attributes
  @param registeredService  the registered service
  @param attributesRenderer the attributes renderer