Spring Security
-
Enterprise Java
What is SecurityContext and SecurityContextHolder in Spring Security?
The SecurityContext and SecurityContextHolder are two fundamental classes of Spring Security. The SecurityContext is used to store the details of the currently…
Read More » -
Enterprise Java
How Http Basic Authentication works in Spring Security?
In the last article, you have learned how to enable Http basic authentication in Spring security based Java application and now…
Read More » -
Enterprise Java
How to enable HTTP Basic Authentication in Spring Security using Java and XML Config
In the last article, I have shown you how to enable Spring security in Java application and today we’ll talk about how…
Read More » -
Enterprise Java
Secure Your Java App with Spring Security, Thymeleaf, and Okta
Never Build Auth Again – Love building user management? With Okta, you can add social login, multi-factor authentication, and OpenID…
Read More » -
Enterprise Java
Secure REST Service with OAuth2 Tokens
1. Introduction In this tutorial, we will check out how we can use Spring Security with OAuth to secure REST…
Read More » -
Enterprise Java
Securing resources using Spring Security with OAuth
1. Introduction In this tutorial, we will check out how we can use Spring Security with OAuth to secure the…
Read More » -
Enterprise Java
Understanding OAuth2 token authentication
1. Introduction In this tutorial, we will be understanding OAuth2 Token Authentication, such that only authenticated users and applications get a…
Read More » -
Enterprise Java
Spring Security and Multiple Filter Chains
Spring Security is an immensely useful technology. It allows you to secure your application without being too intrusive and allows…
Read More » -
Enterprise Java
Mocking Spring Security Context for Unit Testing
Today, while writing unit test case for one of the Java method which looks like below: public ApplicationUser getApplicationUser() { ApplicationUser…
Read More »