Skip to main content

Add xml node to Attribute

1 reply [Last post]
liaw
Offline
Joined: 2009-12-02

Hello everyone,

I use hloder-of-key to secure my web service, now I want to add attribute statement to the saml assertion. When I add attribute in the attribute statement, I just could add String value in the attribute tag, for exemple:

Walter Brattain

How can I add a XML node in the attribute, for exemple:

Thank you!

Message was edited by: liaw

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jdg6688
Offline
Joined: 2005-11-02

You can create an Element attr for:


Then add to the list of Attribute:

getAttributes().add(attr);