Custom Login Page for Returning User 1. Introduction This article is a continuation of our ongoing registration with Spring Security series. In this article, we are going to have a look at how to develop a custom login page for a user who is returning to our application. The user… Continue Reading custom-login-page-for-returning-user

REST Assured Authentication 1. Overview In this tutorial, we’ll analyze how we can authenticate with REST Assured to test and validate a secured API properly. The tool provides support for several authentication schemes: Basic Authentication Digest Authentication Form Authentication OAuth 1 and OAuth 2 And we’ll see examples for each… Continue Reading rest-assured-authentication

Instance Profile Credentials using Spring Cloud 1. Introduction In this quick article, we’re going to build a Spring Cloud application that uses instance profile credentials to connect to an S3 bucket. 2. Provisioning Our Cloud Environment Instance profiles are an AWS feature that allows EC2 instances to connect to other… Continue Reading spring-cloud-instance-profiles

Intro to Jasypt 1. Overview In this article, we’ll be looking at the Jasypt (Java Simplified Encryption) library. Jasypt is a Java library which allows developers to add basic encryption capabilities to projects with minimum effort, and without the need of having an in-depth knowledge about implementation details of encryption… Continue Reading jasypt

Post a Link to the Reddit API 1. Overview In this second article of the series, we’ll build some simple functionality to post on Reddit from our application, via their API. 2. Necessary Security First – let’s get the security aspect out of the way. In order to Submit a… Continue Reading spring-security-oauth-post-to-reddit

Permissions-Based Access Control with Apache Shiro 1. Introduction In this tutorial, we’ll look at how to implement fine-grained Permissions-Based Access Control with the Apache Shiro Java security framework. 2. Setup We’ll use the same setup as our introduction to Shiro — that is, we’ll only add the shiro-core module to… Continue Reading apache-shiro-access-control