# ModuleRTMPAuthenticate together with ModuleOnConnectAuthenticate

**URL:** <https://community.wowza.com/t/modulertmpauthenticate-together-with-moduleonconnectauthenticate/46706>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 11, 2016, 11:43am UTC](https://community.wowza.com/t/modulertmpauthenticate-together-with-moduleonconnectauthenticate/46706 "2016-03-11T11:43:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcelo\_Melgaco](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@Marcelo\_Melgaco](https://community.wowza.com/u/Marcelo_Melgaco)\
**Post date:** [March 11, 2016, 11:43am UTC](https://community.wowza.com/t/modulertmpauthenticate-together-with-moduleonconnectauthenticate/46706/1 "2016-03-11T11:43:34Z")

</div>

Hi,

i have some wowza servers in production.

We currently use ModuleRTMPAuthenticate with FMLE encoders

( Source Security \> RTMP Sources \> Require Password Authentication = Require password authentication)

We want to support authentication for Flash ( swf ) encoders.

So we want ModuleOnConnectAuthenticate working together with the ModuleRTMPAuthenticate, this way the FMLE encoders will work and Flash encoder too.

Is there any example to accomplish this?

Thanks.

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [March 16, 2016, 9:23am UTC](https://community.wowza.com/t/modulertmpauthenticate-together-with-moduleonconnectauthenticate/46706/2 "2016-03-16T09:23:25Z")

</div>

You might look at an alternative by using [ModuleOnConnectAuthenticate2](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2%28ModuleOnConnectAuthenticate2%29) and then embed the credentials within the query params of the publisher url. Otherwise you could use separate applications two integrate the two types of publishers.

Thanks,

Matt
