Home » Tag Archives: Security

Tag Archives: Security

Testing OpenLiberty with Arquillian (Remote)

Having heard many great reviews, I thought I’ll give Open Liberty a try. In this post, I shall discuss the following: Setup of Open Liberty Setup JDBC connection Setup Arquillian Testing REST endpoint Installing Open Liberty At the time of writing, I am using Open Liberty 18.0.0.1, and I am using Java SE 1.8.0_172 (P.S. Keen to move on to ...

Read More »

Java EE 8 Security API: Overview

java-interview-questions-answers

The New Security API Probably, the single most significant new feature added to Java EE 8 is the new security API. The primary motivations for this new API were to simplify, standardize and modernize the way security concerns are handled across containers and implementations. And they have done a great job. The configuration of web authentication has been modernized thanks to three ...

Read More »

Spring Security with Maven Tutorial

spring-interview-questions-answers

1. Introduction In this post, we shall demonstrate how to use Maven dependencies for Spring Security for very specific use-cases. The latest versions of all the libraries we use can be found on the Maven Central. Understanding how Maven dependencies work and are managed is important in a project for an effective build cycle and clear concepts about what versions ...

Read More »

Secure Your Java App with Spring Security, Thymeleaf, and Okta

spring-interview-questions-answers

Never Build Auth Again – Love building user management? With Okta, you can add social login, multi-factor authentication, and OpenID Connect support to your app in minutes. Create a free developer account today. When you’re building your java app, user management is a critical consideration. It’s common for apps and APIs to partition access to different parts of an application, ...

Read More »

Protecting Sensitive Data

If you are building a service that stores sensitive data, your number one concern should be how to protect it. What IS sensitive data? There are some obvious examples, like medical data or bank account data. But would you consider a dating site database as sensitive data? Based on a recent leaks of a big dating site I’d say yes. ...

Read More »

Using UAA OAuth2 authorization server – client and resource

java-interview-questions-answers

In a previous post I had gone over how to bring up an OAuth2 authorization server using Cloud Foundry UAA project and populating it with some of the actors involved in a OAuth2 Authorization Code flow. I have found this article at the Digital Ocean site does a great job of describing the OAuth2 Authorization code flow, so instead of rehashing what is ...

Read More »

A Case For Native Smart Card Support in Browsers

A smart card is a device that holds a private key securely without letting it out of its storage. The chip on your credit card is a “smart card” (yup, terminology is ambiguous – the card and the chip are interchangeably called “smart card”). There are smaller USB-pluggable hardware readers that only hold the chip (without an actual card – ...

Read More »