Bug #33495

No alternative entry point type can be configured

Added by Robert Lemke over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Security
Start date:
2012-01-27
Due date:
% Done:

100%

PHP Version:
5.3
Has patch:
No
Complexity:

Description

Theoretically it is possible to use another type of entry point than the pre-configured WebRedirect. In practice, however, it is not possible to override the pre-defined type due to a bug in the corresponding parsing function in AuthenticationProviderManager.

While being on it, the setting names and structure could need some improvement to assert that only one entry point can be defined at all. The result should look like this:

providers:
DefaultProvider:
provider: 'PersistedUsernamePasswordProvider'
token: 'TYPO3\FLOW3\Security\Authentication\Token\UsernamePasswordHttpBasic'
entryPoint: 'HttpBasic'
entryPointOptions:
realm: 'Blog'

Associated revisions

Revision ad0bcd5e (diff)
Added by Karsten Dambekalns over 7 years ago

[!!!][BUGFIX] Alternative entry points can be configured again

This fix allows for using other than the pre-defined WebRedirect
entry points (for example the HTTP Basic entry point).

In order to avoid confusion, this patch also streamlines the setting
names for authentication providers. It makes sure that only one entry
point can be defined at all and adjusts the naming of other settings
to be in line with other FLOW3 setting conventions.

The keys of settings for the authentication provider have changed as
follows:

DefaultProvider:
provider: '(a class name)'
providerOptions: [ ... options ... ]
token: '(a class name)'
entryPoint: '(a class name)'
entryPointOptions: [ ... options ... ]

Resolves: #33495
Releases: 1.1
Change-Id: Ic8c3c7043decc9be531d80a1c016cd0f4624e4cf

Revision f4337471 (diff)
Added by Karsten Dambekalns over 7 years ago

[TASK] Add providerOptions example to Settings.yaml

Change-Id: I9c5a5a899db3a2cb3e094f308760b216fc0cde38
Related: #33495
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#2 Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#3 Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#4 Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#5 Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#6 Updated by Gerrit Code Review over 7 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#7 Updated by Gerrit Code Review over 7 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#8 Updated by Gerrit Code Review over 7 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#9 Updated by Gerrit Code Review over 7 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#10 Updated by Gerrit Code Review over 7 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#11 Updated by Gerrit Code Review over 7 years ago

Patch set 11 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#12 Updated by Gerrit Code Review over 7 years ago

Patch set 12 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#13 Updated by Gerrit Code Review over 7 years ago

Patch set 13 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#14 Updated by Gerrit Code Review over 7 years ago

Patch set 14 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9881

#15 Updated by Karsten Dambekalns over 7 years ago

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

Also available in: Atom PDF