Ask a Question

WS Security Configuration: More customization needed in WSS-Entry "Username"

Bresenham
New Contributor

WS Security Configuration: More customization needed in WSS-Entry "Username"

Hi all,

I use SoapUI 5.5.0 Open Source and need more flexibility in a special configuration feature.

 

actual result

By adding the WSS-entry "Username" to my WS-Security Configuration I´m only able to configurate an attribute value for the Username tag. Example result in my request:

[...]<wsse:Username>myName</wsse:Username>[...]

expected result

It is possible to add attributes to the Username. Example result in my request:

[...]<wsse:Username vwsu:Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" vwsu:NameQualifier="CustomNameQualifier" xmlns:vwsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">myName</wsse:Username>[...]

 

Is it possible to get the expected result with SoapUI Open Source or do I need another version?

 

Thank you in advance for the answer

2 REPLIES 2
richie
Community Hero

Hey @Bresenham,

This isnt actually a SoapUI question. This is actually a query relating to SOAP rules.
Whatever attributes can be added into the WS Security's username tag would, im guessing be defined by SOAP v1.1 rules (im assuming youre running v1.1 rather than v1.0).

Cheers,

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

Thank you Rich!

 

But one more question, if I have understand you correctly.

 

Here are the soap rules to this topic: https://www.oasis-open.org/committees/download.php/16782/wss-v1.1-spec-os-UsernameTokenProfile.pdf

 

There I can not find any customization rules in WSS-Entry "Username". So this is the reason, why I can not do this in SoapUI? If this is correct, do you know other ways, to make a special configuration to this WSS-Entry?

 

Thank you

Armin

 

cancel
Showing results for 
Search instead for 
Did you mean: