If you intend to build an application designed for more than a single user then you will need to provide a means for users to authenticate themselves. Authentication is the means for a user to provide information that allows your application to identify who you are.
The application will then typically use authorisation to check which functions and information you are allowed to access. To take a look at what is involved in an authentication system lets build a simple system to get you started.
Continue reading “Adding login for your applications”
Just to make sure we have everything up and working we will quickly create a small program just to prove the basics are in place.
Almost any programming course will start you off with a ‘Hello World’ app, so why should we be any different.
Now, I think I said right back at the beginning that this is not about learning the Java language and this is not about learning how to program, this is about using Java and our programming knowledge to build a desktop application in Java. So that said the code presented here should not be a surprise to anyone; it’s a simple Class with a Main method that launches the application and will form the corner stone of everything we do going forward.