How to create and send SAML2XMLObject through attributes
kotesh201
koteshwarv at gmail.com
Tue May 28 14:30:10 EDT 2013
Hi,
I am using Shibboleth authentication engine attribute-filter/resolver.xml
files to create the asserstions and sending to SP.
I see xs:type as SAML2XMLObject under AttributeEncoder at
https://wiki.shibboleth.net/confluence/display/SHIB2/SAML2XMLObjectAttributeEncoder
I couldn't find any example on how to create the SAML2XMLObject.
If you can give me some pointers on how to create the SAML2Object, that
would be very helpful. I would like to use something like below. My main
object is to create my custome SAML2XMLObject on Java implementation side
and pass the value to Shibboleth Auth engine so that Auth engine can put it
in one of the attribute and relay to the SP.
<resolver:AttributeDefinition id="XMLAttr"
xsi:type="Script" xmlns="urn:mace:shibboleth:2.0:resolver:ad">
<resolver:AttributeEncoder xsi:type="SAML2XMLObject"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder" name="XMLAttr"
nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" />
</resolver:AttributeDefinition>
Thanks in advance.
-Kotesh
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/How-to-create-and-send-SAML2XMLObject-through-attributes-tp7587046.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
More information about the users
mailing list