After adding a setter for the SAML properties file to the Wss4jSecurityInterceptor I was able to successfully create a soap message with a signed SAML token. Creating a SAML token requires a SAML properties file and a SAML CallbackHandler so I will include examples of the ones I used for testing.
Here is the necessary setter method.
- Set the location of the SAML properties file.
- @param location the location of the SAML properties file
public void setSamlPropertiesFile(String location)