Developing services for the sign-in activity for web applications

In the earlier recipe, we wrote and tested services for user registration. In this recipe, we will implement services for the user sign-in.

Getting ready

To get started with this recipe, you should have performed the earlier recipe.

How to do it…

For this recipe, we will use the same project that we created earlier:

  1. To start with, we use the same user model that we defined in the earlier recipe. As we had encrypted the password during registration, it is very important to use the same client, which was initiated by the encryption provider:
    static AmazonDynamoDBClient client = new AmazonDynamoDBClient( new ClasspathPropertiesFileCredentialsProvider()); static DynamoDBMapper mapper = new ...

Get DynamoDB Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.