Initial stab at shibboleth authentication #11
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an initial implementation for #10
I've added some documentation in the README file explaining what's required to set up the app. Once you've set up the app (with the metadata route), you should retrieve the metadata, save it in some
uniquely-named-xml-file.xml
and register your app as a SP with testshib.orgI found it easiest to add a host in my /etc/hosts and proxy node via nginx and added https (as I think Shibboleth refuses to work over anything else than https)
It should then be a matter of browsing to your initiator route and get redirected to the testshib IdP.
I've pushed the Java code to https://github.com/sakaiproject/SAMLParser (check the readme for compiling it)
I realize it's a bit of a hassle to set it all up, so feel free to contact me via mail at [email protected] or
simong
on Freenode if anything isn't superclear.