# How to Authentication with password and username  ?

**URL:** <https://community.wowza.com/t/how-to-authentication-with-password-and-username/44093>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [November 12, 2014, 10:31pm UTC](https://community.wowza.com/t/how-to-authentication-with-password-and-username/44093 "2014-11-12T22:31:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qizhao\_lee](https://avatars.discourse-cdn.com/v4/letter/q/b3f665/32.png) [@qizhao\_lee](https://community.wowza.com/u/qizhao_lee)\
**Post date:** [November 12, 2014, 10:31pm UTC](https://community.wowza.com/t/how-to-authentication-with-password-and-username/44093/1 "2014-11-12T22:31:21Z")

</div>

I know function doHTTPAuthentication(vhost, req, resp) can auto Authentication,but I don’t know How to Authentication with password and username in myself login box .

I want to Authentication when I login in my website.

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [November 13, 2014, 10:23pm UTC](https://community.wowza.com/t/how-to-authentication-with-password-and-username/44093/2 "2014-11-13T22:23:08Z")

</div>

Hi,

You can configure your website to use a database containing your username and password information, and you can use the same information to authenticate users connecting to your server. You will need to create a similar module as the one described in the [How to do user authentication for Flash RTMP client using JDBC connection to MySQL database](https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database) forum article.

Zoran
