-
Notifications
You must be signed in to change notification settings - Fork 10
Custom calling plugin disabled login
vahidhedayati edited this page Dec 25, 2014
·
4 revisions
If you have disabled login as per configuration below, you must set
session.wschatuser
session.wschatroom
with your logged in username and predfined room.
Config.groovy value - now that default page asking for username no longer works
/*
* To disable default login page set following
* session.wschatuser must be set and now simply
*/
wschat.disable.login = "yes"
```
Then access chat by going to
```
http://localhost:8080/yourapp/wsChat/chat
```
If your user details are provided by your own login mechanism. In this example the userId is passed to a service that tries to match a name from what is on DB if not strip email address of AD account and show before @ (this part of code is not provided but is what the service is doing)