[Flow] Flow 2.2 development version - authentication issues

Steffen Wickham steffen at gaming-inc.de
Tue Apr 1 13:29:40 CEST 2014


I thought about it too, but I checked it twice that the path in the form
and the UsernamePasswordToken got the same namespace path (even in 2.2).

I added an other Test Controller which derives from the
AbstractAuthenticationController of TYPO3 Flow (within
Security/Authentication) but got the same result. The
updateCredentials() of UsernamePasswordToken will never be called and
securityContext doesn't return any token.






Am 01.04.14 12:29, schrieb Carsten Bleicker:
> maybe the namespace or post arguments changed?
> i mean: <input name="Foo[bar][password]">
>
> its just an idea. never tried the 2.2 of flow
>
> Am 01.04.2014 um 12:21 schrieb Steffen Wickham <steffen at gaming-inc.de>:
>
>> Hello Aimo,
>>
>> thanks for reply!
>> It throws everytime an exception (if try-catch-block is commented) "
>> #1258721059: The security context contained no tokens which could be
>> authenticated." and won't authenticate anything. When I dump the
>> securityContext->getAuthenticationTokens(), I still getting a completly
>> empty array. When I dump the internal arguments of the request (which
>> will be extracted by the UsernamePasswordToken), I get the correct
>> username and password, but the updateCredentials() method of the Token
>> wouldn't be called anyway...
>>
>> Can you provide me some of your code to check against it? Maybe our code
>> is (nearly) the same but it is some server setup issue. :-/
>>
>> Greetings
>> Steffen
>>
>>
>>
>>
>> Am 01.04.14 12:09, schrieb Aimo Kuenkel:
>>> Hi Steffen,
>>>
>>> How does your installation behave when trying to log in? Do you see any error or something?
>>> We also have problems here with login under 2.2: we always have to login twice for the authentication to work, but couldn't yet find the root.
>>>
>>> Greetings,
>>>
>>> Aimo
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: flow-bounces at lists.typo3.org [mailto:flow-bounces at lists.typo3.org] Im Auftrag von Steffen Wickham
>>> Gesendet: Dienstag, 1. April 2014 12:03
>>> An: TYPO3 Flow mailing list
>>> Betreff: [Flow] Flow 2.2 development version - authentication issues
>>>
>>> Hello guys,
>>>
>>> for a completly new project I'm using the current master branch of Flow, so it would be based on 2.2 on it's release date in some months. But currently I'm running in some troubles regarding authentication and really hope you can help me. :-)
>>>
>>> As it worked for me on 2.1, the same authentication controller stopped working for 2.2. I tried to find the reason why this happens and found that the securityContext doesn't return any AuthenticationToken to the AuthenticationManager even the internalarguments of the request deliver the credentials in a proper way. I posted all related files to https://gist.github.com/BlackIPS/9185580dbf335153d9ff, please have a look (I just removed the real vendor and package name due restrictions).
>>>
>>> Does anyone else have the same issue?
>>> We are running Flow on nginx with php-fpm 5.4 setup.
>>>
>>> Greetings
>>> Steffen
>>> _______________________________________________
>>> Flow mailing list
>>> Flow at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>>> _______________________________________________
>>> Flow mailing list
>>> Flow at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>> _______________________________________________
>> Flow mailing list
>> Flow at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list