protected String encodeAttributeValue(final Object value) {
        return StringEscapeUtils.escapeXml10(value.toString().trim());
    }
This is {@link DefaultCas30ProtocolAttributesRenderer}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-validation-core/src/main/java/org/apereo/cas/web/view/attributes/DefaultCas30ProtocolAttributesRenderer.java