# ModuleOnConnectAuthenticate2 doesnt work with the current version of Wowza ??

**URL:** <https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107>\
**Category:** Wowza Streaming Engine\
**Created:** [April 13, 2015, 8:48pm UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107 "2015-04-13T20:48:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [April 13, 2015, 8:48pm UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107/1 "2015-04-13T20:48:27Z")

</div>

I tried to implement authentication use the following post :

[https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2)

The problem is that even when I do not enter the username and password in the URL , my client STILL CAN CONNECT to the application.

I have already restarted the application several times but the problems still occured. I checked on the module list and I saw this line : moduleOnConnectAuthenticate Authenticates RTMP in Flash. com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2

Does this module still work with the newest version of Wowza ( I am using the Developer License) ?? My client still can connect to the application even when I do not enter the username and password or put wrong username and password in it.

Please tell me how to resolve this. Thanks.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [April 14, 2015, 7:46am UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107/2 "2015-04-14T07:46:30Z")

</div>

Hello there and welcome to the Wowza support forum.

Please work through this guide, as it sounds like you have not properly configured the module:

[How to do file-based authentication with RTMP client and credentials in querystring of the RTMP URL (ModuleOnConnectAuthenticate2) Edit](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2%28ModuleOnConnectAuthenticate2%29)

Please let us know if you are still having trouble after you followed the guide correctly.

Kind regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [June 4, 2015, 9:31am UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107/3 "2015-06-04T09:31:18Z")

</div>

Hi,

This will now be handled in the created ticket (130336).

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [April 22, 2015, 2:09pm UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107/4 "2015-04-22T14:09:59Z")

</div>

Hi,

This module is still compatible with the latest version of Wowza. Please do send a support request to support@wowza.com from an email account with valid entitlement so that we can further investigate the issue on your configuration.

Kindly include:

1. A zip file of the [install-dir]/conf

2. A zip file of the [install-dir]/logs

3. A link to this thread for reference

Michelle

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [April 14, 2015, 6:37pm UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107/5 "2015-04-14T18:37:37Z")

</div>

The link I gave is the same as the link you gave. I restarted and also checked on the modules list (as I mentioned above). I also open Incoming Security \> RTMP Publishing \> Require Password Authentication .

In the Modules list of my application, I also saw moduleOnConnectAuthenticate Authenticates RTMP in Flash. com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2

I also restarted the application. I followed every step of the guide. Only for the usernamePasswordProviderClass, I do not set because I don’t use it.

What makes you think I did not follow the guide correctly ??

Please tell me how to solve this. Thank you.

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [June 4, 2015, 12:34am UTC](https://community.wowza.com/t/moduleonconnectauthenticate2-doesnt-work-with-the-current-version-of-wowza/45107/6 "2015-06-04T00:34:45Z")

</div>

Sorry for the late reply - it is because you replied 8 days after my last reply so I did not know.

I sent an email with the information you require to support@wowza.com . Thank you. I am looking forward to your reply.

sorry the email display was a bit mess up:

Instead of

_In the Modules section, I have this line_

_moduleOnConnectAuthenticate_

_In the Properties, Custom Properties I have this line :_

_Authenticates RTMP in Flash. com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2_

_/Root/Application rtmpAuthenticateFile String ${com.wowza.wms.context.VHostConfigHome}/conf/connect.password_

_It should be_

_In the Modules section, I have this line_

_moduleOnConnectAuthenticate Authenticates RTMP in Flash. com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2_

_In the Properties, Custom Properties I have this line :_

_/Root/Application rtmpAuthenticateFile String ${com.wowza.wms.context.VHostConfigHome}/conf/connect.password_
