Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Problem wih ClaimType of SAML Token

$
0
0

Hi,

  I've got SAML response where I have attribute defined as:

<saml:Attribute
    xmlns:x500="urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500"
    NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
    Name="urn:oid:2.5.4.42" FriendlyName="givenName"><saml:AttributeValue xsi:type="xs:string"
        x500:Encoding="LDAP">Mikaël</saml:AttributeValue></saml:Attribute>

but how can I definie ClaimType in PowerShell from this section?

So far I do it in this way as below but saml response now looks as this above and below line will not work ;/

$map1 = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.wingtip.com/sharepoint/2009/08/claims/givenname" -IncomingClaimTypeDisplayName "givenName" -SameAsIncoming 
Thanx for any help.


Viewing all articles
Browse latest Browse all 17574

Trending Articles