# Suche AddEncoder Event aus SW5

**URL:** <https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580>\
**Category:** Programmierung\
**Created:** [14. September 2020 um 08:50 UTC](https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580 "2020-09-14T08:50:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Revilo](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Revilo](https://forum.shopware.com/u/Revilo)\
**Post date:** [14. September 2020 um 08:50 UTC](https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580/1 "2020-09-14T08:50:22Z")

</div>

Hey Shopware Community,

ich suche ein Event aus SW5 namens&nbsp; **Shopware\_Components\_Password\_Manager\_AddEncoder** , jedoch kann ich es in SW6 leider nicht finden.  
Es geht darum einen eigenen Password Encoder, wie in [diesem Tutorial beschrieben](https://developers.shopware.com/developers-guide/password-encoder/) zu erstellen.

Viele Grüße  
Oliver

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [14. September 2020 um 11:10 UTC](https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580/2 "2020-09-14T11:10:47Z")

</div>

Du musst ein Encoder anlegen nach dem Interface&nbsp;[platform/LegacyEncoderInterface.php at fbbf50715f0754d6eb5c999b91b6e439717af171 · shopware/platform · GitHub](https://github.com/shopware/platform/blob/fbbf50715f0754d6eb5c999b91b6e439717af171/src/Core/Checkout/Customer/Password/LegacyEncoder/LegacyEncoderInterface.php#L5)

und im Container registrieren mit den tag&nbsp;

---

<div class="post-metadata">

**Author:** ![Revilo](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Revilo](https://forum.shopware.com/u/Revilo)\
**Post date:** [16. September 2020 um 08:59 UTC](https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580/3 "2020-09-16T08:59:31Z")

</div>

Ah okay, das Interface wird also benötigt.  
Mein Encoder selbst muss ja nicht im Container registriert werden, sondern mein Subscriber, der sich an ein Event hängt und eben dann meinen Encoder ausführt.

Mein Subscriber ist schon im DI Container registriert, allerdings fehlt mir immer noch das Shopware 6 Equivalent zu&nbsp; **Shopware\_Components\_Password\_Manager\_AddEncoder** aus Shopware 5. Oder sehe ich das falsch?

---

<div class="post-metadata">

**Author:** ![Revilo](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Revilo](https://forum.shopware.com/u/Revilo)\
**Post date:** [22. September 2020 um 08:45 UTC](https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580/4 "2020-09-22T08:45:47Z")

</div>

@Shyim‍ Muss ich das gar nicht an ein Event hängen? Reicht es, wenn ich das erweiterte Interface einfach im Container registriere?

---

<div class="post-metadata">

**Author:** ![Revilo](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Revilo](https://forum.shopware.com/u/Revilo)\
**Post date:** [28. September 2020 um 09:53 UTC](https://forum.shopware.com/t/suche-addencoder-event-aus-sw5/69580/5 "2020-09-28T09:53:49Z")

</div>

Komme nach wie vor nicht weiter. Hat keiner eine Idee?
