Forced reauthentication
David Bantz
dabantz at alaska.edu
Thu Aug 14 19:23:54 EDT 2014
It doesn’t seem the first SP session really ended. I see that you state "the SP logs a new session” but you don’t provide the log entry for that, and generally, merely closing the active browser tab does not end the SP session - not in my experience anyway. So opening a new tab/window in the same browser session just continues with the existing session. That of course does not require re-authentication.
If you want to test the re-authentication required after 5 seconds, you’ll need to destroy the SP session cookie.
On Thu, 14 Aug 2014, at 14:51 , Jesse Santana <Jesse.Santana at csulb.edu> wrote:
> I’m really hoping to draw from the expertise of this community.
>
> I currently have a Shibboleth IdP running (shibboleth-identityprovider version 2.4.0). The instance is running as expected and releasing attributes to over a dozen SP’s that currently use it. I have a new SP I’ve been asked to introduce to the environment with the requirement that this SP force re-authentication each time it is used. I realize this goes against SSO in general but it is still a requirement I need to try and fill.
>
> I’ve edit shibboleth2.xml (shibboleth 2.5.3) by adding to my “Sessions” block maxTimeSinceAuthn="5" and to my “SSO “ block forceAuthn="true". After restarting my SP, I can login initially and see my session established on the SP:
>
> INFO Shibboleth-TRANSACTION [10]: New session (ID: _7e76ca6eda3efe8ec9c547da21828981) with (applicationId: default) for principal
>
> And I see the authentication on the IdP:
>
> INFO [Shibboleth-Audit:1028] - 20140814T220328Z|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect|_91a4358af7798cc5b9541c2dbcb13825
>
> Along with my release of attributes.
>
> When I close the tab in my browser that this application opened and reconnect to the application again in the same browser session, I can see where the SP logs a new session but the IdP is never contacted again for re-authentication.
>
> What am I missing here? Shouldn’t the SP contact the IdP again to re-authenticate and the IdP prompt me for my credentials again?
>
> Thank you all in advance,
>
> Jesse
>
>
> Jesse Santana
> Interim Director – Servers, Systems, and Websites
> CSU Long Beach – Network Services
> 1250 Bellflower Blvd.
> Long Beach, CA 90840
> (562)985-8511
>
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://shibboleth.net/pipermail/users/attachments/20140814/a6146784/attachment.bin
More information about the users
mailing list