Setting a single username &password to control access to my application

Have a look at this example