Building SP from source on Windows with VS2010 missing Versions.props and Includes.props

Martin Robinson martin.robinson at dai.co.uk
Tue Jun 9 10:32:49 EDT 2015


Scott,



Thanks for the that. That info could be very helpful.



The issue I am seeing is to do with attributes not being populated into the request headers correctly. My attribute mappings are set up to extract several attributes from the request (all non-standard ones specific to this application) and I can see these, with their correct values, in the Shibboleth.sso/Session status page.



I am using IdP-Initiated SSO to the Shibboleth SP running under IIS on Windows 7.



Following the ASC processing my SAML Response request, SP redirects to my application by means of the homeURL setting in the default application in shibboleth2.xml.  RelayState is blank.



My application is a .Net/VB ASPX page which currently just dumps out the request parameters during the page load as follows:



Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load



        ' Dump header values

        For Each key As String In Request.Headers.AllKeys

            Dim val As String = Request.Headers(key)

            System.Diagnostics.Debug.WriteLine(key + " = " + val)

        Next



This creates the following output:


Connection = keep-alive
Accept = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding = gzip, deflate
Accept-Language = en-US,en;q=0.5
Cookie = _shibsession_64656661756c7468747470733a2f2f6368657272792f73686962626f6c657468=_3d74571f2aca76e4f6c0a4988f39e07f; LoginURL=OT; .ASPXAUTH=19192B9BD5FF059732F6C598C1302806AA69FF4046C2343948B10F000C6CDDE472015D95BA7202F0CD23A0E833BFD42B31D444346C7BAAFC0C25D4A8CAFE92E6D659FDA62A72DC8667AF93635E7DF7185C7C825805DF73871E98732D0ABBBD0AFCBA14D6AE092F583DC16C853F445E7C077C9CDF4A3FF7375D9BB5D7ED66ACDA2561F4A9F466CC9E029A5A0F732549CE; ASP.NET_SessionId=oo3rdnyaq5fzlyho12ozuyf2
Host = watford.dai.co.uk
Referer = https://cherry/BBC_DEV/saml_test.aspx
User-Agent = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
ShibSpoofCheck = 17201795892054438409337921965517821273
ShibApplicationID = default
ShibSessionID = _3d74571f2aca76e4f6c0a4988f39e07f
ShibIdentityProvider = BBC
ShibAuthenticationInstant = 2015-06-08T14:05:12.3462277Z
ShibAuthenticationMethod = urn:oasis:names:tc:SAML:2.0:ac:classes:Password
ShibAuthnContextClass = urn:oasis:names:tc:SAML:2.0:ac:classes:Password



There are NO session attributes included in this list! Why not?



The session status page displays the following (with some attribute values masked for obvious reasons):


Miscellaneous
Session Expiration (barring inactivity): 479 minute(s)
Client Address: 10.178.0.1
SSO Protocol: urn:oasis:names:tc:SAML:2.0:protocol
Identity Provider: BBC
Authentication Time: 2015-06-08T14:05:12.3462277Z
Authentication Context Class: urn:oasis:names:tc:SAML:2.0:ac:classes:Password
Authentication Context Decl: (none)

Attributes
BBC-ChargeCode:
        S0XXXX
BBC-Division:
        FINANCE AND OPERATIONS
BBC-Email:
        XXXXXXX at bXXXXXX.uk
BBC-Extension:

BBC-Forename:
        XXXXXXX
BBC-StaffNo:
        MISSING
BBC-Surname:
        XXXXXX





Cheers,



Martin Robinson





-----Original Message-----
From: dev [mailto:dev-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: 09 June 2015 15:16
To: Shib Dev
Subject: Re: Building SP from source on Windows with VS2010 missing Versions.props and Includes.props



On 6/9/15, 12:40 PM, "Martin Robinson" <martin.robinson at dai.co.uk<mailto:martin.robinson at dai.co.uk>> wrote:







>I am trying to build the latest (2.5.4) release of SP from source using

>VS2010. This is just to enable me to debug something in the ISAPI

>filter which does not appear to be working correctly…



I appreciate the effort. I might be able to at least suggest why it's doing what it's doing if I know what it is.



>

>However, I am getting totally stuck because some of the project files

>in the 2.5.4 svn tag contain references to two other property files –

>Versions.props and Includes.Props. These files however are nowhere to

>be found as far as I can see in the SVN repository.

>

>Where are these files? If I need to create them, what should they contain?



They're in cpp-parent-projects/cpp-msbuild



http://svn.shibboleth.net/view/cpp-parent-projects/cpp-msbuild/tags/2.5.4/



This is probably too late to help you, but I did actually get around to uploading all the built dependencies:



http://shibboleth.net/downloads/misc/



-- Scott



--

To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net<mailto:dev-unsubscribe at shibboleth.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150609/7787e871/attachment-0001.html>


More information about the dev mailing list