Skip to content

Instantly share code, notes, and snippets.

View HackRanger's full-sized avatar
🏠
Working from home

Subramanya HackRanger

🏠
Working from home
View GitHub Profile
@thomasdarimont
thomasdarimont / App.java
Last active October 27, 2023 07:44
Secure REST API Example with Spring Security, Spring Session, Spring Boot
package demo;
import java.io.Serializable;
import java.security.Principal;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;