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.
- Host: GitHub
- URL: https://github.com/kavithma-thushal/spring-boot-with-basic-authentication
- Owner: Kavithma-Thushal
- License: mit
- Created: 2024-04-19T07:46:19.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-20T01:45:06.000Z (about 1 year ago)
- Last Synced: 2025-01-22T08:45:37.930Z (3 months ago)
- Topics: basic-authentication, spring-boot, spring-security
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)