Category: Java

Tutorial: Use Spring Boot to Build and Deploy WAR Files

Heads up… this article is old! For an updated version of this article, see Deploy a Spring Boot Application into Tomcat on the Okta developer blog. Spring Boot makes it easy to create stand-alone Java web applications. However in production environments, a web container often already exists. How do we deploy our apps in these …

Tutorial: Apache Shiro EventBus

Last week we released Apache Shiro 1.3, and I shared a tutorial on the new Hazelcast support. Today, I’d like to introduce you to the new EventBus system and show you a couple different ways to use it. Shiro’s EventBus is implemented very similar to Guava’s EventBus, if you are already familiar with that, you already know how …

Custom Data Search for Powerful Identity Management in Java

Custom Data is one of the standout features of Stormpath’s authentication and user management API. It allows you to store up to 10 megabytes of unstructured (JSON) data alongside any Stormpath resource. This can be any manner of application-specific user data; our clients use it for everything from custom profile fields to authorization roles, or …

Tutorial: Build a Flexible CRUD App with Spring Boot in 20 Minutes

Heads up… this article is old! For an updated version of this article, see Angular 8 + Spring Boot 2.2: Build a CRUD App Today! on the Okta developer blog. Welcome to quick and easy CRUD application development with Spring Boot! For this tutorial, nothing is assumed except some basic Java experience. We’ll show you …

Dependency Injection – Spring Boot Technical Concepts Series, Part 2

Welcome to the second post in our Spring Boot Technical Concepts series! Today we’ll dive deep into Dependency Injection with Spring Boot. If you want to start at the beginning, be sure to check out Default Starters – Spring Boot Technical Concepts Series, Part 1. But now, let’s talk Dependency Injection! There was a great …

Hazelcast Support in Apache Shiro

One of the new features in the Apache Shiro 1.3 release is the support for a Hazelcast Cache Manager. In this post, we will walk through updating an existing application and add clustered session support via Hazelcast, all with only a few configuration changes. Download the Sample Web App First, download the simple web application: …

Apache Shiro 1.3 Released

The Apache Shiro team is proud to announce the 1.3.0 release. This is the first feature release in a few years, and we’re really excited about it. The 1.3.0 release contains 12 bug fixes, 8 improvements, and 4 new features. A large number of commits in this release came from the community, probably the most community …

Microservices in Spring Boot, a Screencast

In software development, the term microservices refers to many independent services communicating with each other over an API. In a microservice architecture, these services must exchange information in order to perform complex tasks, and each communication is a point of vulnerability, and potential latency. This Spring Boot tutorial screencast demonstrates many of the critical functions …

Encode and Decode JWTs with jsonwebtoken.io and java.jsonwebtoken.io!

We’re excited to announce our first two StormHack projects to the world: jsonwebtoken.io and java.jsonwebtoken.io! These two sites are open source developer tools we created to make it easy to both encode and decode JWTs and generate a corresponding code sample. Encode or Decode JWTs Decode: Paste an existing JWT in order to decode its …

8 Tools Every Java Developer Should Know (& Love)

Here at Stormpath we take quality and productivity very seriously. As any good craftsmen already knows, having talent is not enough, you also need the right tools for the job. Engineering isn’t just a science, it’s also an art, so although we undoubtedly have talent (wink wink) at Stormpath, we always look to supplement with …