Re: Authenticating with UsernameToken and Password Digest
Hi Sam, Right now, we don't support creating UsernameTokens with digest passwords in the Studio. I've created a JIRA in the past for this feature here: https://jira.talendforge.org/browse/TESB-16082 I experimented with cProcessor to add the UsernameToken manually, however I wasn't able to get it to work in PAYLOAD mode, as the generated code turns off relay headers. It should be possible though to get it to work for non-PAYLOAD modes if this is an option for you. Alternatively, it's possible to get it to work when you deploy to the container (but not in the Studio). If you select the UsernameToken authentication in the Studio + then deploy the route to the container, it uses the policy stored in etc/org.talend.esb.job.token.policy to create the security header. If you change the policy to for example: <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"> <wspolicy> <sp:HashPassword/> </wspolicy> </sp:UsernameToken> Then it will create a UsernameToken with a hashed password.