Authentication and authorization in Websockets

Asked

Viewed 150 times

1

Good afternoon, I was tasked with building a Java application that communicates with a mobile application developed with hybrid technologies (HTML5, CSS3 and Javascript), when researching in the market the technology that would give greater support to my needs I came to the conclusion that I would have to use Websockets, however I never worked with the same, would like to know if anyone would have any example of how to use Authorization and Authentication using Websckets communication technology.

  • Just a touch to take into consideration: I’ve considered using websockets for a mobile app and what I really needed was push Notifications (GCM). A websocket connection kept open for a long time can greatly increase the battery consumption of the device, sometimes even with a low volume of data traffic.

  • I would have some tutorial or material that indicates me to consult ?

  • 1

    Search for Google Cloud Messaging. The official Google material is in English but you will find tutorials on the subject in Portuguese as well. To push Notifications operating on multiple platforms, search for mobile push notification providers as parse.com, Amazon SNS and others.

  • A question: What you have Java to do with the question? The server is using Java?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.