ComponentSpace

Forums



How do I retrieve saml attributes that are sent to me


How do I retrieve saml attributes that are sent to me

Author
Message
jstoneski80
jstoneski80
New Member
New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)

Group: Forum Members
Posts: 3, Visits: 16
How do I access the saml attributes that are being sent to me?  I've seen some other topics that are similar that say to use SAMLServiceProvider.ReceiveSSO, but intellisense isn't pulling that up at all. 

I am using version 2.3.0.16 for reference and vb.net

Thanks
jstoneski80
jstoneski80
New Member
New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)New Member (5 reputation)

Group: Forum Members
Posts: 3, Visits: 16
jstoneski80 - 11/19/2019
How do I access the saml attributes that are being sent to me?  I've seen some other topics that are similar that say to use SAMLServiceProvider.ReceiveSSO, but intellisense isn't pulling that up at all. 

I am using version 2.3.0.16 for reference and vb.net

Thanks

Actually I think I figured it out looks like this did the trick for me samlAssertion.GetAttributeValue("firstName")
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
Version 2.3.0.16 is from 2011 and doesn't include the SAML high-level API (ie SAMLServiceProvider.ReceiveSSO etc).
The various methods in the SAMLAssertion class, including GetAttributeValue, are what you have to use.
I recommend emailing us to look at upgrading at some stage.
You'll find the release notes at:
https://www.componentspace.com/Forums/8576/Release-Notes


Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search