In this tutorial, we will generate a random alpha-numeric string of characters, which can be used as a user password. Password Requirements When generating passwords, it’s important to set requirements that make them strong and difficult to guess. Here are some guidelines to follow when creating password requirements: Length The length of a password is…Read More Generate Secure Password in Java
If your mobile or web app allows the user to register and have an account with your project then you also need to let users recover their lost or forgotten password. And in this video tutorial, I am going to share with you a few videos that will help you implement Password Reset functionality in your…Read More Password Reset in REST API. Video tutorial.
In this tutorial, you will learn how to add Spring Security to your project so that we can use Spring Security to encrypt user passwords. I assume you already have a project created with Spring Boot, but in case you do not have one, check out my blog post on how to “Create a very…Read More Encrypt User Password with Spring Security
In this blog post we will implement Token-base authentication and will learn how to use Access Token we have created in a previous blog post to communicate with Web Service endpoints which require user to be a registered user with our mobile application. If you have not followed the previous two blog posts then it…Read More Token-based Authentication Example
It time to learn how to create a Web Service to authenticate user with their user name and password and how to issue a unique secure access token which our Mobile Application can use to send HTTP requests and communicate with protected web services of our API. For a free video tutorial on how to…Read More RESTful Web Service to Authenticate User and Issue Access Token
In this blog post I am going to share with you a way to create a RESTful Web Service to: Create a new user profile, Generate and save in database a user secure user password rather than an actual password provided by user, Return back as a response a custom user profile object(JSON) with information that…Read More RESTful Web Service to Save a New User in Database
When a user signs up for our mobile app, we require them to create a secure password, which we then store in our database. However, we know that storing passwords as plain text is not secure, as it allows anyone who views the database to access users’ actual passwords. To protect these passwords from being…Read More Encrypt User Password Example in Java
When user signs up for an account with our mobile app, we invite them to come up with a secure password. It is user friendly, if our app can suggest…Read More Generate User Password in Swift