An open API service indexing awesome lists of open source software.

https://github.com/kavithma-thushal/spring-boot-with-basic-authentication

Simple Spring Boot application demonstrating how to implement basic authentication ( username/password) for securing REST APIs.
https://github.com/kavithma-thushal/spring-boot-with-basic-authentication

basic-authentication spring-boot spring-security

Last synced: about 1 month ago
JSON representation

Simple Spring Boot application demonstrating how to implement basic authentication ( username/password) for securing REST APIs.

Awesome Lists containing this project

README

        

# Spring-Boot with Basic Authentication

This repository contains a sample Spring Boot application demonstrating how to implement basic authentication (
username/password) for securing REST APIs. Basic authentication is a simple yet effective method for authenticating
users based on provided credentials.

## Technologies Used

✅Spring Boot

✅Spring Security

✅Maven

✅Java

## Features

✅Implementation of basic authentication using Spring Security

✅Securing REST endpoints based on user roles

✅Demonstrates user authentication and authorization with in-memory

## Usage

1. Clone the repository `git clone https://github.com/Kavithma-Thushal/Spring-Boot-With-Basic-Authentication.git`
2. Navigate to the project directory `cd Spring-Boot-With-Basic-Authentication`
3. Run the application `./mvnw spring-boot:run`
4. Access the application `http://localhost:8080`

⭐️If you hava any bugs or issues ,If you want to explain code please contact me on :

[[email protected]](https://[email protected])

#### This project is licensed under the [MIT License](LICENSE)

#### © 2024 All Right Reserved, Designed By [Kavithma Thushal](https://github.com/Kavithma-Thushal)