# rtmp url with source security

**URL:** <https://community.wowza.com/t/rtmp-url-with-source-security/46669>\
**Category:** Wowza Streaming Engine\
**Created:** [March 8, 2016, 8:54pm UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669 "2016-03-08T20:54:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 8, 2016, 8:54pm UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669/1 "2016-03-08T20:54:24Z")

</div>

im not able to load the module

---

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 9, 2016, 11:24am UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669/2 "2016-03-09T11:24:09Z")

</div>

server

loadModFunctions[red5prolive/_definst_]: Module class not found or could not be loaded. Check [install-dir]/conf/red5prolive/Application.xml to be sure all Modules/Module/Class paths are correct: name:moduleOnConnectAuthenticate class:com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate

x-duration: 21.007

i have putted the collection in the lib folder

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [March 10, 2016, 4:52pm UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669/3 "2016-03-10T16:52:00Z")

</div>

Hi,

When using moduleOnConnectAuthenticate then firstly ensure that authentication is disabled in Source Security for the particular app, and add the user and password query parameters to the RTMP connection URL, e.g.

```auto
Server: rtmp://[wowza-ip]:1935/live?username&password
Stream: myStream

```

By default the module will authenticate using the credentials found in [install-path]/conf/connect.password. Please see [this article](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2%28ModuleOnConnectAuthenticate2%29) for more details.

Paul

---

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 9, 2016, 11:26am UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669/4 "2016-03-09T11:26:15Z")

</div>

wms-plugin-collection.jar is in /usr/local/WowzaStreamingEngine-4.4.0/lib

i got this in my application file:

moduleOnConnectAuthenticate

moduleOnConnectAuthenticate

com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate

also tried

moduleOnConnectAuthenticate

moduleOnConnectAuthenticate

com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2

---

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 9, 2016, 11:58am UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669/5 "2016-03-09T11:58:14Z")

</div>

ow it seems its not compatible with source security…

---

<div class="post-metadata">

**Author:** ![Gerd\_Koetje](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@Gerd\_Koetje](https://community.wowza.com/u/Gerd_Koetje)\
**Post date:** [March 9, 2016, 3:20pm UTC](https://community.wowza.com/t/rtmp-url-with-source-security/46669/6 "2016-03-09T15:20:56Z")

</div>

would be nice if someone can clearify how to properly use source auth, with the new version of wowza
