Skip to content

harishkannarao/spring-security-rest-api

Repository files navigation

Spring Security for Spring Boot Rest API

This repository is to showcase Authentication and Role Base Access Control (RBAC) for Spring Boot Rest API using Spring Security.

Github Actions Build status

Build Status

Required Softwares, Tools and Version

  • Java JDK Version: 21
  • Gradle Version: 8
  • Git Client: Any latest version

Running the build

./gradlew clean build

Running the application using build tool

./gradlew bootRun

http://localhost:8080/spring-security-rest-api/general-data

Run the sample application using java

./gradlew clean assemble

java -jar build/libs/spring-security-rest-api.jar

http://localhost:8080/spring-security-rest-api/general-data

Run unit tests

./gradlew clean test

Run integration tests

./gradlew clean integrationTest

Run feature toggle integration tests

./gradlew clean ftIntegrationTest

About

Learning repo for Spring Security with Spring Boot REST api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published