Forum Discussion

Bresenham's avatar
Bresenham
New Contributor
4 years ago

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

  • richie's avatar
    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