spring boot secure session cookies

Spring boot secure session cookies

Table of Contents1. Overview2. Configuration2.1 application.properties2.2 application.yml2.3 Command OptionOutput:3. References 1. Overview In this article, we will learn how to secure session cookies in spring boot. Spring boot’s server.session.cookie.secure configurable is available…

spring security digest authentication example

Spring security digest authentication example

Table of Contents1. Overview2. Example2.1 pom.xml2.2 SecurityConfiguration2.2 HelloController2.3 SpringBootConfigOutput:3. References 1. Overview In this article, we will see spring security digest authentication example. Spring security provides digest authentication filter using that…

Hadoop MapReduce WordCount example using Java

Hadoop MapReduce WordCount example using Java

Table of Contents1. Overview2. Development environment3. Sample Input4. SolutionUsing core MapReduce4.1 Build File: build.gradle4.2 Driver Code: WordCountDriver.java4.3 Mapper Code: WordCountMapper.java4.4 Reducer Code: WordCountReducer.java4.5 Copy files from local file system to…

Spring boot jpa mysql example

Spring boot jpa mysql example

Table of Contents1. Overview2. Example2.1 pom.xml2.2 application.properties2.3 SpringBootConfig2.4 EmployeeController2.5 EmployeeDAO2.6 Employee2.7 Build & Start Application:2.8 Output3. Conclusion4. References 1. Overview In this article, We have explained Spring boot JPA MySQL example or we…

spring boot etag header example

spring boot etag header example

Table of Contents1. Overview2. Example2.1 pom.xml2.2 SpringBootConfig2.3 ETagController2.4 Output:3. Conclusion4. References5. Source Code 1. Overview In this article, we will learn spring boot etag header example, ETag header is used…

Install java in Ubuntu Linux

Install java in Ubuntu Linux

Table of Contents1. Overview2. Repository installationStep 1: Add Oracle Java repository and install Java 8 using installerStep 2: Managing JavaStep 3: Set JAVA_HOME environment variableStep 4: Verify java installation3. Extracting…

Spring security custom rolevoter example

Spring security custom rolevoter example

Table of Contents1. Overview2. Example2.1 pom.xml2.2 application.properties2.3 SecurityConfiguration2.4 WeekOffVoter2.5 Application2.6 LoginController2.7 login.jsp2.8 welcome.jsp2.9 loginFailed.jspOutput:3. Conclusion4. References 1. Overview In this article, we will explain about Spring security custom rolevoter example. Spring…

Spring boot flyway example

spring boot flyway example

Table of Contents1. Overviewa. Flyway migration script locationb. Can’t change .sql file once migration performedc. Flyway history tabled. Configuration properties of flyway migration2. Example2.1 pom.xml2.2 application.properties2.3 V1__Create_Employee_Table.sql2.4 V2__Employee_Insert.sql2.5 SpringBootConfig2.6 Demo:Build and Run applicationOutput3….