Method eu.unicore.workflow.pe.iterators.SMSResolver#getSMSClient creates the SMS EPR using URL given as a parameter. This EPR is then used to create StorageClient. Necessary ISecurityProperties are enhanced with the trust delegation (using method org.chemomentum.common.util.Config#addTrustDelegation).
Unfortunately, this trust delegation doesn't contain receiver DN. Method addTrustDelegation is able to extract it from the DN, but our EPR is created manually and doesn't contain DN. The "full" version of EPR can be fetched from the grid registry.
TD with the receiver DN would be useful for integrating Workflow Engine with dSMS. After receiving request, dSMS has to invoke a few other services on behalf of the user. In order to do that it needs to extend the TD chain, but it's impossible unless the TD already contains dSMS DN.