/** {@inheritDoc} */ protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException { Endpoint endpoint = (Endpoint) samlObject; if (attribute.getLocalName().equals(Endpoint.BINDING_ATTRIB_NAME)) { endpoint.setBinding(attribute.getValue()); } else if (attribute.getLocalName().equals(Endpoint.LOCATION_ATTRIB_NAME)) { endpoint.setLocation(attribute.getValue()); } else if (attribute.getLocalName().equals(Endpoint.RESPONSE_LOCATION_ATTRIB_NAME)) { endpoint.setResponseLocation(attribute.getValue()); } else { processUnknownAttribute(endpoint, attribute); } }
endpoint.setBinding(((AuthnRequest) inboundMessage).getProtocolBinding()); if (endpoint instanceof IndexedEndpoint) { ((IndexedEndpoint) endpoint).setIndex( endpoint.setBinding(unverifiedBinding); log.debug("{} Defaulting binding in \"unverified\" request to {}", getLogPrefix(), unverifiedBinding);