Posted In: Spring, Spring Boot, Spring Security

Example – Spring Boot – Security – Default Basic Authentication – SSL/HTTPS enabled

  1. Create Spring boot project. Refer create-eclipse-spring-boot-application-step-by-step     2. Choose security checkbox or add following maven entry     3. Set up Spring Boot embedded Tomcat to use HTTPS port 8443   3a. Create certificate using following command. Use the same folder as your project E:\workspace_neon>cd Example201721>keytool -genkey -alias tomcat -storetype PKCS12 -keyalg […]

Read More

Tags: , , , , ,

by , on February 17th, 2017

Posted In: Spring, Spring Boot, Spring Security

Example – Spring Boot – Security – Default Basic Authentication

  Note Basic authentication transmits the password as plain text so it should only really be used over an encrypted transport layer such as HTTPS when used in enterprise application.   1. Create Spring boot project. Refer create-eclipse-spring-boot-application-step-by-step     2. Choose security checkbox or add following maven entry     3. Start spring boot […]

Read More

Tags: , ,

by , on February 16th, 2017

  • Categories