• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to let users login?

InfiSnyp

Lurker
I want to make an app and let user login. I want to go further into than just logging in but I feel like if I get the logging in part I will be able to do anything else server related really. I don't have any experience in Java really but i do in C#, C++, LUA so hopefully that background will help me get my head around this quicker. I'm new here so I'm sorry if I am on the wrong forum! Thanks for any help!
 
Application Development thread moved to the Development forum for better exposure.:)
 
If you want to implement a server based login service, then you will need to implement a server based web service, or web page to do it. The login service will need to be supported by a database, to hold the users' login details. There are a variety of server-side technologies available to do all this.
You will also need to use a secure connection protocol, such as HTTPS, to provide encryption of sensitive information like passwords.

On the client side you can use either a web browser to access your login page, or implement an app to call a login web service, probably a REST interface.
If you choose to write an app you will need to know the Java programming language.
 
Also think about what happens after the user logs in? After all, the only purpose of the login process is to authenticate a user, allowing them to use further web services. So part of the login process will involve issuing an authentication token back to the client, which can then be used in subsequent web service calls. Without the token, access to the service is denied.
All this is required because a web application is stateless, i.e. the server does not remember a client from one service call to the next.
 
Back
Top Bottom