Spring Security using Custom Authentication Provider

Tools and Technologies used 1)Eclipse IDE Mars Release (4.5.0) 2)Java 8 3)Spring framework 4.2.0 4)Spring security 3.2 5)Tomcat 8 Follow steps from the Spring MVC project link to setup a spring maven hello world project. Project Structure Then follow below steps to achieve spring security using custom Authentication Provider. Modify pom.xml as below to have […]

Share this article on

Setter Dependency Injection with Array of String

In some scenarios, we may need to inject an array of strings to an object. Consider the example where Person has hobbies In this case, we can use Array of String which stores the hobbies Let us see the same in spring through Setter Dependency Injection Create a class called Person It contains 3 attributes […]

Share this article on
< Previous Next >