Ranjani Harish

Ranjani Harish

Fun-loving, curious and enthusiastic IT developer who believes in constant learning.

Articles by Ranjani Harish

Deserialize with Jackson’s @JsonCreator in a Spring Boot Application

The FasterXML Jackson library is the most popular JSON parser in Java. Spring internally uses this API for JSON parsing. For details on other commonly used Jackson annotations, refer to this article.

Read more

Serialize and Deserialize with Jackson’s @JsonView in a Spring Boot Application

The Jackson API is one of the best JSON parsers in Java. Spring integrates well with Jackson and with every new Spring release, newer Jackson features get incorporated making the Spring Jackson support more flexible and powerful.

Read more

Getting started with Spring Security and Spring Boot

Spring Security is a framework that helps secure enterprise applications. By integrating with Spring MVC, Spring Webflux or Spring Boot, we can create a powerful and highly customizable authentication and access-control framework.

Read more

Configuring CSRF/XSRF with Spring Security

Cross-site Request Forgery (CSRF, sometimes also called XSRF) is an attack that can trick an end-user using a web application to unknowingly execute actions that can compromise security.

Read more

Handling Timezones in a Spring Boot Application

It is common to encounter applications that run in different time zones. Handling date and time operations consistently across multiple layers of an application can be tricky.

Read more

Configuring CORS with Spring Boot and Spring Security

Cross-Origin Resource Sharing (CORS) is an HTTP-header-based mechanism that allows servers to explicitly allowlist certain origins and helps bypass the same-origin policy.

Read more