AnsweredAssumed Answered

How to read objectGUID / binary attribute

Question asked by Ankush on Aug 18, 2016
Latest reply on Aug 29, 2016 by Sharana

Hi All,

 

I am trying to send objectGUID ( an AD attribute, which is binary attribute ) using  assertion attribute. But I am unable to do so, what I am getting is either a binary value ( junk value ) or base64 encoded format. Please suggest how I can get in it hexstring. Below is the camparison between two saml response.

 

######### Present Response ############

 

<ns2:Attribute Name="objectguid"

 

NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"

>

<ns2:AttributeValue>yGhT3kroAUCj5lbadpbljg==</ns2:AttributeValue>

 

####### Expected Response ############

 

<saml:Attribute Name="objectGUID"

NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"

>

<saml:AttributeValue>de5368c8-e84a-4001-a3e6-56da7696e58e</saml:AttributeValue>

 

######################################

 

Thanks,

Ankush

Outcomes