Bug #31311

Logout must not rely on a session

Added by Bastian Waidelich almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-10-26
Priority:Must have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:Security
Target version:TYPO3 Flow Base Distribution - 1.0.1
PHP Version: Complexity:easy
Has patch:No Affected Flow version:FLOW3 1.0.0

Description

AuthenticationProvider::logout() currently throws an Exception if no session has been initialized yet (due to the "loggedOut" signal, the Session listens to).

Associated revisions

Revision eab9bf95
Added by Bastian Waidelich almost 4 years ago

[BUGFIX] Logout must not rely on a session

AuthenticationProvider::logout() currently throws an Exception
if no session has been initialized yet.
This change fixes this by checking whether the Security Context
has been initialized.

Change-Id: If45256cf13497b4d0d598728f0018932b12c672b
Resolves: #31311
Releases: 1.0, 1.1

Revision 93b608a4
Added by Bastian Waidelich almost 4 years ago

[BUGFIX] Logout must not rely on a session

AuthenticationProvider::logout() currently throws an Exception
if no session has been initialized yet.
This change fixes this by checking whether the Security Context
has been initialized.

Change-Id: Iefe6c641277e1faceee9085aa7103e2ab0156e07
Resolves: #31311
Releases: 1.0, 1.1

History

#1 Updated by Mr. Hudson almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change If45256cf13497b4d0d598728f0018932b12c672b has been pushed to the review server.
It is available at http://review.typo3.org/6347

#2 Updated by Mr. Hudson almost 4 years ago

Patch set 2 of change If45256cf13497b4d0d598728f0018932b12c672b has been pushed to the review server.
It is available at http://review.typo3.org/6347

#3 Updated by Mr. Hudson almost 4 years ago

Patch set 3 of change If45256cf13497b4d0d598728f0018932b12c672b has been pushed to the review server.
It is available at http://review.typo3.org/6347

#4 Updated by Bastian Waidelich almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF