[FLOW3-general] No default hashing strategy configured

Martin titusmailing at googlemail.com
Tue Apr 3 12:52:30 CEST 2012


Hi Andi,

unfortunately if I delete this part I get this error:
#1: Warning: file_put_contents(/ [..] failed to open stream: Permission 
denied i...

because somehow its not there.

If I put this stuff in Global Settings its also not working

in Global I have TYPO3:
TYPO3:
   FLOW3:
     security:
       enable: TRUE

And in the project settings i tried
TYPO3:
    FLOW3:
      security:
        hashService:
          encryptionKey: 'secret'
        authentication:
          authenticationStrategy: oneToken
          providers:
            DefaultProvider:
              providerClass: PersistedUsernamePasswordProvider

But I get the exception described above.

Is there some other stuff i did not see?

Greetz

Martin

On 04/03/2012 12:07 PM, Andreas Förthner wrote:
> Hi Martin,
>
> have you tried to skip the following part?
>
> cryptography:
>    hashingStrategies:
>      default:
>
>
> It should not be necessary.
>
> Greets Andi
>
> Am 03.04.12 11:39 schrieb "Martin" unter<titusmailing at googlemail.com>:
>
>> Dear List,
>>
>> I tried to implement a simple Login and I get this Exception:
>>
>> #1320758427: No default hashing strategy configured (More information)
>>
>> I am not sure where to set the hashing strategy coz
>> 21
>> TYPO3\FLOW3\Security\Cryptography\HashService_Original::getPasswordHashing
>> StrategyAndIdentifier("default")
>> is set to default.
>>
>> I tried to put this in Settings.yaml
>>
>> TYPO3:
>>    FLOW3:
>>      security:
>>        cryptography:
>>          hashingStrategies:
>>            default:
>>        hashService:
>>         encryptionKey: 'secret'
>>        authentication:
>>          authenticationStrategy: oneToken
>>          providers:
>>            DefaultProvider:
>>              providerClass: PersistedUsernamePasswordProvider
>>
>> For learning this I tried to build the Login from:
>>
>> http://www.layh.com/work/flow3-fluid/tutorials/flow3-registration-and-logi
>> n.html
>>
>> Thx for ur help!
>>
>> Greetz
>>
>> Martin
>>
>>
> Andreas Förthner
> Leiter Web-Entwicklung
>
> Telefon: +49 (911) 539909 - 0
> E-Mail: andreas.foerthner at netlogix.de
> Website: media.netlogix.de
>
>
> --
> netlogix GmbH&  Co. KG
> IT-Services | IT-Training | Media
> Andernacher Straße 53 | 90411 Nürnberg
> Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
> E-Mail: info at netlogix.de | Internet: http://www.netlogix.de
>
> netlogix GmbH&  Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
> Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
> Umsatzsteuer-Identifikationsnummer: DE 233472254
> Geschäftsführer: Stefan Buchta, Matthias Schmidt
>
>
>
> _______________________________________________
>> FLOW3-general mailing list
>> FLOW3-general at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>


More information about the FLOW3-general mailing list