<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I am struggling to get the shibboleth service provider working on my Windows Server 2008 x64 box running IIS 7.5.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the service running. It stops at starts without issue. We have IDP-initiated working in that the user signs in at the IDP (an external server not running shibboleth), and the user is sent to our test page where we write out information
about the request in an effort to figure out where the data is stored for retrieval and authentication on our site.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The logs have no errors.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In shibboleth2.xml, my configuration to the meta data is as follows:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><MetadataProvider type="XML" path="ING_SAML_Metadata_external.xml" reloadInterval="7200"><o:p></o:p></p>
<p class="MsoNormal"></MetadataProvider><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That XML file looks like this and was provided by the client with the IDP:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><EntityDescriptor entityID="<a href="http://saml.company.com">http://saml.company.com</a>" xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:xsi="<a href="https://www.w3.org/2001/XMLSchema-instance">https://www.w3.org/2001/XMLSchema-instance</a>">
<o:p></o:p></p>
<p class="MsoNormal"> <IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAuthnRequestsSigned="false">
<o:p></o:p></p>
<p class="MsoNormal"> <KeyDescriptor use="signing">
<o:p></o:p></p>
<p class="MsoNormal"> <ds:KeyInfo xmlns:ds="<a href="http://www.w3.org/2000/09/xmldsig#">http://www.w3.org/2000/09/xmldsig#</a>">
<o:p></o:p></p>
<p class="MsoNormal"> <ds:X509Data>
<o:p></o:p></p>
<p class="MsoNormal"> <ds:X509Certificate><o:p></o:p></p>
<p class="MsoNormal"> <!—removed for security reasons --><o:p></o:p></p>
<p class="MsoNormal"> </ds:X509Certificate><o:p></o:p></p>
<p class="MsoNormal"> </ds:X509Data>
<o:p></o:p></p>
<p class="MsoNormal"> </ds:KeyInfo>
<o:p></o:p></p>
<p class="MsoNormal"> </KeyDescriptor> <o:p></o:p></p>
<p class="MsoNormal"><!-- Supported Name Identifier Formats --><o:p></o:p></p>
<p class="MsoNormal"> <NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<o:p></o:p></p>
<p class="MsoNormal"><!-- AuthenticationRequest Consumer endpoint --><o:p></o:p></p>
<p class="MsoNormal"> <SingleSignOnService isDefault="true" index="0" Location="<a href="https://www2.accp.company.com/esamloutbound/saml?target=MySite">https://www2.accp.company.com/esamloutbound/saml?target=MySite</a>" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"/>
<o:p></o:p></p>
<p class="MsoNormal"> </IDPSSODescriptor> <o:p></o:p></p>
<p class="MsoNormal"> </EntityDescriptor><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Originally, there was an EntityConfig section following the EntityDescriptor closing tag, but that cause the service to error on startup, so I commented it out. Here is what it looks like.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><EntityConfig xmlns="urn:sun:fm:SAML:2.0:entityconfig"<o:p></o:p></p>
<p class="MsoNormal"> xmlns:fm="urn:sun:fm:SAML:2.0:entityconfig"<o:p></o:p></p>
<p class="MsoNormal"> hosted="1"<o:p></o:p></p>
<p class="MsoNormal"> entityID="<a href="http://saml.company.com">http://saml.company.com</a>">
<o:p></o:p></p>
<p class="MsoNormal"> <IDPSSOConfig metaAlias="/users/idp"><o:p></o:p></p>
<p class="MsoNormal"> <Attribute name="email"><o:p></o:p></p>
<p class="MsoNormal"> <Value></Value><o:p></o:p></p>
<p class="MsoNormal"> </Attribute><o:p></o:p></p>
<p class="MsoNormal"> </IDPSSOConfig><o:p></o:p></p>
<p class="MsoNormal"></EntityConfig><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am at a loss with what to do with this. The documentation is not clear on this section or what to do with it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In my attribute-map.xml, I have tried several different ways of mapping the attributes and none are being picked up.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><!-- Fourth, the SAML 2.0 NameID Format: --><o:p></o:p></p>
<p class="MsoNormal"><Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="persistent-id"><o:p></o:p></p>
<p class="MsoNormal"> <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/><o:p></o:p></p>
<p class="MsoNormal"></Attribute><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><!-- Comapny email attribute --><o:p></o:p></p>
<p class="MsoNormal"><Attribute name="urn:sun:fm:SAML:2.0:entityconfig:email" id="email" /><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><Attribute name="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" id="userid"><o:p></o:p></p>
<p class="MsoNormal"> <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/><o:p></o:p></p>
<p class="MsoNormal"></Attribute><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><Attribute name="urn:oasis:names:tc:SAML:2.0:assertion:ID" id="company-id" /><o:p></o:p></p>
<p class="MsoNormal"><Attribute name="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" id="company-nameid" /><o:p></o:p></p>
<p class="MsoNormal"><Attribute name="<a href="http://www.w3.org/2001/XMLSchema/email">http://www.w3.org/2001/XMLSchema/email</a>" id="company-email" /><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And finally, a sample of the XML sent from the IDP.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Destination="<a href="http://test.mysite.com:25000/home/test">http://test.mysite.com:25000/home/test</a>" ID="R_d94a80ea-cf0a-4caa-9e6d-211e566c9163"
IssueInstant="2014-03-14T13:47:43.139Z" Version="2.0"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><a href="http://saml.company.com%3c/saml:Issuer">http://saml.company.com</saml:Issuer</a>><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:Signature xmlns:ds="<a href="http://www.w3.org/2000/09/xmldsig#">http://www.w3.org/2000/09/xmldsig#</a>"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:SignedInfo><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:CanonicalizationMethod Algorithm="<a href="http://www.w3.org/2001/10/xml-exc-c14n#">http://www.w3.org/2001/10/xml-exc-c14n#</a>"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:SignatureMethod Algorithm="<a href="http://www.w3.org/2000/09/xmldsig#rsa-sha1">http://www.w3.org/2000/09/xmldsig#rsa-sha1</a>"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:Reference URI="#R_d94a80ea-cf0a-4caa-9e6d-211e566c9163"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:Transforms><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:Transform Algorithm="<a href="http://www.w3.org/2000/09/xmldsig#enveloped-signature">http://www.w3.org/2000/09/xmldsig#enveloped-signature</a>"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:Transform Algorithm="<a href="http://www.w3.org/2001/10/xml-exc-c14n#">http://www.w3.org/2001/10/xml-exc-c14n#</a>"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ec:InclusiveNamespaces xmlns:ec="<a href="http://www.w3.org/2001/10/xml-exc-c14n#">http://www.w3.org/2001/10/xml-exc-c14n#</a>" PrefixList="ds saml samlp xs"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:Transform><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:Transforms><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:DigestMethod Algorithm="<a href="http://www.w3.org/2000/09/xmldsig#sha1">http://www.w3.org/2000/09/xmldsig#sha1</a>"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:DigestValue> <!-- Omitted --> </ds:DigestValue><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:Reference><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:SignedInfo><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:SignatureValue> <!-- Omitted --> </ds:SignatureValue><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:KeyInfo><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:X509Data><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <ds:X509Certificate> <!-- Omitted --> </ds:X509Certificate><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:X509Data><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:KeyInfo><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </ds:Signature><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <samlp:Status><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </samlp:Status><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="A_84f4f5a1-e3e3-4090-a24f-842cc24a5c49" IssueInstant="2014-03-14T13:47:43.039Z" Version="2.0"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Issuer><a href="http://saml.company.com%3c/saml:Issuer">http://saml.company.com</saml:Issuer</a>><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Subject><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">a86457332</saml:NameID><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:SubjectConfirmationData NotOnOrAfter="2014-03-14T13:49:43.129Z" Recipient="<a href="http://test.mysite.com:25000/home/test">http://test.mysite.com:25000/home/test</a>"/><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:SubjectConfirmation><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:Subject><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Conditions NotBefore="2014-03-14T13:42:43.139Z" NotOnOrAfter="2014-03-14T13:49:43.129Z"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:AudienceRestriction><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Audience><a href="http://mysite.com%3c/saml:Audience">http://mysite.com</saml:Audience</a>><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:AudienceRestriction><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:Conditions><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:AuthnStatement AuthnInstant="2014-03-14T13:47:43.139Z"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:AuthnContext><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:AuthnContext><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:AuthnStatement><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:AttributeStatement><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:Attribute FriendlyName="email" Name="email"><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <saml:AttributeValue xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"
xsi:type="xs:string"><a href="mailto:user@mydomain.com%3c/saml:AttributeValue">user@mydomain.com</saml:AttributeValue</a>><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:Attribute><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:AttributeStatement><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> </saml:Assertion><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"></samlp:Response><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any thoughts out there on what I am doing wrong?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">Josh Christensen, Mobile and Web Platform Architect</span></b><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#4F6228">FTNI - One Solution, Many Possibilities</span></b><b><span style="font-size:9.0pt;color:#4F6228"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#4F6228">13220 Birch Drive, Suite 120, Omaha, NE 68164</span><span style="font-size:8.0pt;font-family:"Times New Roman","serif";color:#4F6228"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#4F6228">Phone 402-502-8777, ext. 110 | Fax 402-502-8788<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#4F6228"><a href="mailto:jchristensen@FTNI.com"><span style="color:blue">jchristensen@FTNI.com</span></a> |
<a href="http://www.ftni.com/"><span style="color:blue">www.FTNI.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#4F6228"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:navy"><img border="0" width="233" height="54" id="Picture_x0020_1" src="cid:image001.png@01CF3F94.EF485B40" alt="cid:451b20e8-10b2-4cb7-a9b4-cf5708bb40d0@exchange.electric.net"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#4F6228"><o:p> </o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"">This message and any attachments are confidential, may contain privileged information, and are intended solely for the recipient named above. If you are not the intended recipient,
or a person responsible for delivery to the named recipient, you are notified that any review, distribution, dissemination or copying is prohibited. If you have received this message in error, you should notify the sender by return email and delete the message
from your computer system.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>