Same Url Different Path

Teresa Fasano t.fasano at cineca.it
Fri Jul 31 11:07:56 EDT 2015


Il 31/07/2015 16:36, Peter Schober ha scritto:
> * Peter Schober <peter.schober at univie.ac.at> [2015-07-31 16:21]:
>> * Teresa Fasano <t.fasano at cineca.it> [2015-07-31 15:59]:
>>> I want to protect only http://www.myapp.it/path2, not
>>> http://www.myapp.it/path1 and http://www.myapp.it/path3.
>>>
>>> How can I implement this request?
>> By only requiring a session on the protected request path.
> Sorry, make that "requiring a session on the requested path".
> How depends on the webserver you're using.
> E.g. with Apache httpd e.g. you'd use
> <Directory /path/to/path2> or <Location /path2> directives and enforce
> sessions only there, as per the Shib docs.
> -peter

Ok.

I ask you two clarifications:

1) In the shibboleth2.xml I must specify the parameter "Path" or is useless?
For example:
<RequestMap>
    <Host name="url">
       <Path name= "path2"/>
    </Host>
</RequestMap>

2) In the Metadata of the SP I must specify the 
http://www.myapp.it/path2/ in the Location (for example, 
Location="https://www.myapp.it/path2/Shibboleth.sso/...") or only 
Location="https://www.myapp.it/Shibboleth.sso/....

Thanks,
Teresa



-- 
----------------------------------
L'educazione è il pane dell'anima
----------------------------------

Teresa Fasano

CINECA
System and Technologies Department
Middleware and Infrastructure Group
Via Magnanelli, 6/3
Casalecchio di Reno (Bologna) ITALY

web:     http://www.cineca.it
e-mail:  t.fasano at cineca.it
phone:   +39 051 61 71 364



More information about the users mailing list