Home » Tag Archives: Spring (page 5)

Tag Archives: Spring

OAuth 2.0 Token Management with Stormpath and Spring Boot

spring-interview-questions-answers

Building Identity Management, including authentication and authorization? Try Stormpath! Our REST API and robust Java SDK support can eliminate your security risk and can be implemented in minutes. Sign up, and never build auth again! OAuth 2.0 token management is often misunderstood and difficult to implement correctly. Fortunately, with Stormpath’s SDKs and integrations, we make Token Management easy – fun, ...

Read More »

Getting Started with SpringBoot in Intellij IDEA Community Edition

We can use Intellij IDEA Community Edition for working with SpringBoot applications as we don’t need support for configuring servers like Tomcat, Wildlfy etc and can simply run the applications by running main() method. However, there is no provision in Intellij IDEA Community Edition to create SpringBoot application directly, the way it supports in Ultimate Edition. We can go to ...

Read More »

Spring Boot & Multi module projects – Adding module specific property files

spring-interview-questions-answers

Hello! In this post I will show you several ways how you can add module specific properties files in a Spring Boot project. It will cover a manual approach for making the property files profile aware and a semi automatic way that is profile aware. An example project is published on my Github account (https://github.com/coders-kitchen/spring-boot-multi-module-property-files). Reasons for having dedicated property files ...

Read More »

Single Sign-on for Java in 20 Minutes with Spring Boot and Heroku

spring-interview-questions-answers

Building Identity Management, including authentication and authorization? Try Stormpath! Our REST API and robust Java SDK support can eliminate your security risk and can be implemented in minutes. Sign up, and never build auth again! Massive Update The code I originally wrote for this post is more suited to non-Spring Boot environments. Stormpath’s existing Spring Boot integration for its IDSite ...

Read More »

Spring Security and Custom Password Encoding

spring-interview-questions-answers

On a previous post we added password encoding to our spring security configuration using jdbc and md5 password encoding. However in case of custom UserDetailsServices we need to make some tweeks to our security configuration. We need to create a DaoAuthenticationProvider bean and set it to the AuthenticationManagerBuilder. Since we need a Custom UserDetailsService I will use use the Spring ...

Read More »

Spring Security and Password Encoding

spring-interview-questions-answers

On previous posts we dived into spring security. We implemented security backed by jdbc, security based on custom jdbc queries and security retrieving information from a nosql database. By being careful enough we will find out that passwords are in plain text. Although this serves well for example purposes in real environments, passwords are always encoded and stored encoded in ...

Read More »

5 Practical Tips for Building Your Spring Boot API

spring-interview-questions-answers

Building Identity Management, including authentication and authorization? Try Stormpath! Our REST API and robust Java SDK support can eliminate your security risk and can be implemented in minutes. Sign up, and never build auth again! Every API developer is looking for ways to manage their application more securely, without sacrificing speed or ease of implementing new features. To that end, ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns