Add policies for logout on smart card removal
This CL implements the core part of SecurityTokenSessionController. The controller observes security tokens and triggers lock / logout when a token that was used for login is removed, alongside UI implemented in previous CLs. This behavior can be controlled by the SecurityTokenSessionBehavior and SecurityTokenSessionNotificationSeconds policies, which this CL activates. This CL also adds browser tests for both policies. In doing so, it also adds a test for SecurityTokenRestrictionView. The CL renames the should_fail_certificate_requests property in TestCertificateProviderExtension to should_provide_certificates, which more accurately reflects its purpose. Fixed: 1131450 Change-Id: I8cf4e25fbbcb8ae4ab607ace254a85197f594f5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2632990 Commit-Queue: Fabian Sommer <fabiansommer@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#846276}
Showing
Please register or sign in to comment