Java, Technology

Fortifying your REST API using Spring security

Spring Security is a lightweight security framework that provides authentication and authorization support in order to secure Spring-based applications. It comes bundled with popular security algorithm implementations. I would cover a series of different topic related to spring security in my upcoming blogs. We will go through the...

by Bijoy Paul
Tag: Spring
24-Jan-2017

Application Security, Grails

How to Perform event on successful login via Spring Security in Grails

Some applications require to store and show last login of the user which is quite common. With this feature a user can verify the last login date and time upon successful login. I would like to explain this through a use case - One of the administrative application on Grails required to hold last login date and time of the user, so...

by Vaibhav Sharma
Tag: Spring
03-Jan-2017

AngularJS, Grails

MEAN Plugin Contributions by experts @ TO THE NEW

Our development team always strives to contribute to the community in various ways including speaking at conferences, hosting conferences, developing plugins to extend functionalities and so on. In this blog, we outline all the plugins that our development team has contributed towards MEAN stack: Javascript (MEAN Stack) Plugins 1....

by kinshuk jhala
Tag: Spring
24-Nov-2016

Java, Technology

An overview of Spring Boot

I have come up with this blog that outlines: What is Spring Boot? Why do we use it? How to get started? 1. What is Spring Boot? Spring boot from Spring is just another project enabling developers to create stand-alone, production-grade Spring based applications. 2. Why do we use it? Create stand-alone Spring...

by Ravi Kumar
Tag: Spring
14-Oct-2016

Technology

Logging with Spring AOP and Custom Annotations In JAVA Application

Whenever i am working on development of any application I want to log every execution of a method, seeing what arguments it receives, what it returns for easy debugging and how much time every execution take. So we have created a utility based on Spring AOP and here we will see how we can use it in our projects. @RestController ...

by Stayendra Verma
Tag: Spring
25-Jul-2016

Java, Software development

Why should you adopt Spring Framework?

Spring is an open source framework for Java platform that provides comprehensive infrastructure support for developing robust Java applications. Spring Framework is essentially a skeleton that offers a solid foundation upon which an application can be built.This skeleton structure guides and helps developers throughout the application...

by Ankit Arora
Tag: Spring
27-May-2016

Java, Software development

Enabling Spring With Plugins

Writing a code to integrate MQTT functionality in my Spring application development made me think, am I not doing this over and over again. Having been involved in different IoT applications and numerous other domains, MQTT became an essential part of almost all the applications that I prepared. This is just one example of such a case,...

by Ankit Arora
Tag: Spring
21-May-2016

Grails, Java

Auto compilation in java springboot application

To run springboot appllication there is a task "bootRun" which compile and run the application for one deployment lifecyle. This is good enough for the production, where auto compilation is not required. In the dev environment auto compilation is used to avoid recompilation. Also it is very much needed to speed up the development time...

by Sanchit
Tag: Spring
15-May-2016

Technology

AEM Integration with Spring

The purpose of this blog is to provide the details on how to integrate Spring in Adobe Experience Manager (AEM) aka CQ5 with the help of OSGI extender. This will open up the world of Spring (DI, AOP, Caching, web services (REST/SOAP), transactions, logging etc.) to AEM projects. This integration will be very vital for the projects, which...

by Yagyesh
Tag: Spring
11-Aug-2015

Technology

Integrating Spring AOP with AEM

Spring AOP Spring AOP (Aspect-oriented programming) framework is used to modularize cross-cutting concerns in aspects.Some of cases where we can use it are to control some of common things like logging , adding some extra feature without actually touching the core logic. This blog post will explain how to enable aspects in our AEM...

by Yagyesh
Tag: Spring
03-Aug-2015

Technology

Perform any DB operation in an isolated transaction

Hi Friends, Sometimes we need to perform any DB operation in between a transaction, but due to transaction's property, it's getting committed only once the parent transaction will be finished. If you need to perform any operation that need to be committed immediately, irrespective of parent transaction (Example : for a dependent...

by Anil Agarwal
Tag: Spring
28-Jul-2015

Grails, Technology

When details in principal object of spring security are not sufficient

Sometimes we need to access details of current logged in user but that will be an additional database query. To save that query we can use principal object of Spring security which provides details of logged in user . But by default principal object have few fields like id, username and password. If we need to access user's name /...

by Lovin Saini
Tag: Spring
24-Jul-2015