Módosítások

DrupalShibbolethReadmeDev

309 bájt hozzáadva, 2009. szeptember 14., 15:08
Setting Shibboleth parameters for the module: rewriting to the new-style configuration interface
==== Setting Shibboleth parameters for the module ====
===== Handler settings =====
If you are using lazy sessions, you have to define the Shibboleth SessionInitiator to which the user should be directed when she clicks on "Login with Shibboleth". The SessionInitiator can be called on a special URL is constituted of the following:* protocol scheme (<code>http://</code> or <code>https://</code>)* host name * Shibboleth handler URL (usually: <code>/which depends on your Shibbolethconfiguration.sso</code>)* 'location' part of the SessionInitiator definition
If your '''/etc/shibboleth/shibboleth2.xml snippet'''is something like this:
<source lang="xml">
<Sessions lifetime="28800" timeout="3600" checkAddress="false"
<SessionInitiator type="Shib1" defaultACSIndex="5"/>
</SessionInitiator>
<!-- other things -->
<LogoutInitiator type="Chaining" Location="/Logout" relayState="cookie">
<LogoutInitiator type="SAML2" template="bindingTemplate.html"/>
<LogoutInitiator type="Local"/>
</LogoutInitiator>
<!-- other things -->
</Sessions>
</source>
For this example, you should configure the Shibboleth settings of the module as the following:Then your * '''Login URL''' is: <code>http(s?)://your_fully_qualified_domain_name/Shibboleth.sso/Login</code>* ''' for Logout URL''Handler URL''is: <code>http(s?)://your_fully_qualified_domain_name/Shibboleth.sso/Logout</code>{{NOTE_EN| Most common errors are (please check Shibboleth documentation):* using ''http'HTTPS'when your Shibboleth SP is configured for '' or https''only (either by Apache settings or 'HTTP'handlerSSL'' for ''scheme'', depending on whether you are using SSL or notparameter)* '''you want to use another SessionInitiator, such as ...<code>/DS</Login''' for ''WAYF location''code>}}
===== Attribute settings =====
Specify here the '''$_SERVER''' headers to look up the user's username and e-mail address. Please check '''DEBUG''' mode to look for the available headers. If you can not find the desired attribute, then something is wrong with your IdP-SP attribute release flow.

Navigációs menü