Author: Sergey Kargopolov

Software developer

Web: www.appsdeveloperblog.com

In this tutorial, I am going to share with you how to generate a self-signed certificate and enable HTTPs/SSL support in a Spring Boot application. You will also learn how to configure RestTemplate HTTP client to use the same self-signed certificate to communicate with your Web Service over HTTPs. Let’s start by generating a self-signed…

Read More Enable HTTPs/SSL in Spring Boot App

In this Spring Boot tutorial, you will learn how to get the details of the currently authenticated principal user. There is more than one way to get currently authenticated user details and in this blog post, I am going to share with you a few. Most likely you already have Spring Security configured for your…

Read More Spring Security. Get Authenticated Principal Details.

In this Spring Boot Security tutorial, you will learn how to use Spring method-level security to secure RestController methods with @PreAuthorize annotation. If you are interested in video lessons, then I also show how to create user Roles and Authorities and how to use Spring Method Level Security annotations in my video course: RESTful Web…

Read More Spring Method-Level Security. Secure RestController Methods

In this Spring Boot tutorial, you will learn how to create a console-based Spring Boot application which you can run in the terminal window on your computer. You will also learn how to pass command-line arguments to your Spring Boot console-based application. For more Spring Boot tutorials and also video lessons check this page: Spring…

Read More Spring Boot Console Application

In this Spring Boot Security tutorial, you will learn how to enable Basic Authentication for your Spring Boot project and how to configure the default username, password and user role. You will also learn how to secure a web service request URL so that only authenticated user with a default username, password and role can access.…

Read More Spring Security Default Username, Password, Role

In this tutorial, you will learn how to add Spring Security to your project and how to enable in-memory basic authentication. You will learn how to configure two different users with different Roles and Privileges. Both users, their roles and privileges will be stored in the memory of your application. Create a New Spring Boot…

Read More Spring Security In-Memory Authentication

In this tutorial, you will learn how to send HTTP Post Request in Swift and how to read HTTP Response and Response Body. This tutorial will cover: Send HTTP Post Request, Convert Query String request parameters to JSON, Convert Swift structure to JSON, Set HTTP Request Headers, Read HTTP Response, Read HTTP Response Headers, Read HTTP…

Read More HTTP POST Request Example in Swift

In this short tutorial, you will learn how to add Biometric Authentication to your iOS app built with Swift. iOS devices starting from iPhone 5S until iPhone 8 Plus will use Touch ID for biometric authentication, while devices starting from iPhone X and above will use Face ID for biometric authentication. Update Info.plist File To be…

Read More Touch ID or Face ID Authentication in Swift