The documentation for the Shibboleth 2 SP includes both a set of how-to guides to help you accomplish common (and not so common) tasks and a more encyclopedic reference of what each configuration option does and how everything works.