rest - Login/Register by using RESTFul api written on Java -


I created Java Web App using the Netbeans IDE. I have created organizations with relationships. Web pages are simple dashboards where I am using new entities I can add, change them and remove them.

I've added cool web services for my organizations. Therefore the web page will be available only for the admin and I want to create client applications which only have access to my data. This means that the customer must log in or register on their server.

When user login / registers on website, server will create session for this user. I know there is no session in lush service, my thoughts login and password every is the time when the customer wants to do some work with the server.

Q: Is there any other way to create something like between sessions between client and server? I hope it is not associated with encryption

There are several options for authorization with authentication . If you want to use simple authentication, look for the 'Basic Auth' description of HTTP, remember that it is unsafe because the user name / password flows on the wire can smell a user / password password updated by new RFC 7235

The safe option is explained in oAuth RFC6749 In this case a request token goes with each request.

In both cases the credentials travel with the header. There is no interference with parameters


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -