# messing with java please suggest

**URL:** <https://community.wowza.com/t/messing-with-java-please-suggest/46676>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 12, 2016, 12:21pm UTC](https://community.wowza.com/t/messing-with-java-please-suggest/46676 "2016-03-12T12:21:38Z")\
**Posts on this page:** 3\
**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 12, 2016, 12:21pm UTC](https://community.wowza.com/t/messing-with-java-please-suggest/46676/1 "2016-03-12T12:21:38Z")

</div>

anyone willing to suggest how to properly do the username/password part, i am mixing up 2 things here i think

somehow other connections messup the data in the variables of a other connection

seems that broadcaster set data is beeing overwriten by subscribers to the same stream

i need to be able to auth trough flash and manual url

[https://dpaste.de/90NP](https://dpaste.de/90NP)

---

<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 12, 2016, 4:00pm UTC](https://community.wowza.com/t/messing-with-java-please-suggest/46676/2 "2016-03-12T16:00:34Z")

</div>

i think ill move the connect disconnect part to the rest api.

still figuring out how to use source control with flash do

---

<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, 8:40am UTC](https://community.wowza.com/t/messing-with-java-please-suggest/46676/3 "2016-03-16T08:40:52Z")

</div>

You can [add publishers via rest api](https://www.wowza.com/docs/live-sources-query-examples) if you are trying to add auth for flash encoders.

Thanks,

Matt
