/** * Method calls the processor and sends the message contained in the context. Subclasses can provide additional * processing before the message delivery. Message is sent using the specified binding. * * @param context context * @param sign whether the message should be signed * @param binding binding to use to send the message * @throws MetadataProviderException metadata error * @throws SAMLException SAML encoding error * @throws org.opensaml.ws.message.encoder.MessageEncodingException * message encoding error */ protected void sendMessage(SAMLMessageContext context, boolean sign, String binding) throws MetadataProviderException, SAMLException, MessageEncodingException { processor.sendMessage(context, sign, binding); }
processor.sendMessage(context, signMessage, SAMLConstants.SAML2_SOAP11_BINDING_URI); processor.retrieveMessage(context, SAMLConstants.SAML2_SOAP11_BINDING_URI);
processor.retrieveMessage(context);
context = contextProvider.getLocalEntity(request, response); context.setCommunicationProfileId(getProfileName()); processor.retrieveMessage(context); context.setLocalEntityEndpoint(SAMLUtil.getEndpoint(context.getLocalEntityRoleMetadata().getEndpoints(), context.getInboundSAMLBinding(), context.getInboundMessageTransport(), uriComparator));
/** * Method calls the processor and sends the message contained in the context. Subclasses can provide additional * processing before the message delivery. Message is sent using binding defined in the peer entity of the context. * * @param context context * @param sign whether the message should be signed * @throws MetadataProviderException metadata error * @throws SAMLException SAML encoding error * @throws org.opensaml.ws.message.encoder.MessageEncodingException * message encoding error */ protected void sendMessage(SAMLMessageContext context, boolean sign) throws MetadataProviderException, SAMLException, MessageEncodingException { processor.sendMessage(context, sign); }