{"id":18927678,"url":"https://github.com/sgrprmnk/springsecurity-6","last_synced_at":"2026-03-15T15:30:15.491Z","repository":{"id":181469362,"uuid":"665631108","full_name":"sgrprmnk/SpringSecurity-6","owner":"sgrprmnk","description":"This is a sample project demonstrating the usage of Spring Security Version 6. It provides an example configuration for securing a Spring Boot application using Spring Security.","archived":false,"fork":false,"pushed_at":"2023-07-15T17:49:16.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T18:59:12.249Z","etag":null,"topics":["authentication-backend","jwt","jwt-authentication","jwt-token","lombok","rest-api","spring-boot","spring-security"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgrprmnk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-12T16:21:37.000Z","updated_at":"2024-07-14T11:47:31.000Z","dependencies_parsed_at":"2023-07-15T19:00:30.272Z","dependency_job_id":null,"html_url":"https://github.com/sgrprmnk/SpringSecurity-6","commit_stats":null,"previous_names":["sgrprmnk/springsecurity-6"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgrprmnk%2FSpringSecurity-6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgrprmnk%2FSpringSecurity-6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgrprmnk%2FSpringSecurity-6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgrprmnk%2FSpringSecurity-6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgrprmnk","download_url":"https://codeload.github.com/sgrprmnk/SpringSecurity-6/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239923343,"owners_count":19719126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication-backend","jwt","jwt-authentication","jwt-token","lombok","rest-api","spring-boot","spring-security"],"created_at":"2024-11-08T11:19:58.618Z","updated_at":"2026-03-15T15:30:15.431Z","avatar_url":"https://github.com/sgrprmnk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpringSecurity-6 with JWT\n### This is a sample project demonstrating the usage of Spring Security Version 6. It provides an example configuration for securing a Spring Boot application using Spring Security.\n## Testing Trial\nVideo Link:\nhttps://drive.google.com/file/d/1oUEOLleirHsNJey3_Q1A0_vw8w4rQm0B/view?usp=sharing\n\nYoutube Link: \nhttps://youtu.be/5EzRV8KclFA\n\n## Prerequisites =\u003e\nTo run this project, you need to have the following installed on your machine:\n-    Java Development Kit (JDK) 8 or higher\n-    Maven build tool\n-    Spring Boot\n## Getting Started =\u003e\nFollow these steps to get started with the project:\n\n1. Clone the repository:\n### Copy code\n\u003c\u003e git clone https://github.com/your-username/spring-security-6.git \u003c/\u003e\n\n2. Navigate to the project directory:\n\u003c\u003e cd spring-security-v6-sample \u003c/\u003e\n\n3. Build the project using Maven:\n\u003c\u003emvn clean install\u003c/\u003e\n4. Run the application:\n   \u003c\u003e mvn spring-boot:run \u003c/\u003e\n\n## Configuration =\u003e\nThe project includes a basic configuration for Spring Security in the application.yml file. You can customize the security configuration by modifying this file according to your requirements.\n\n## Features =\u003e\nThis sample project demonstrates the following features of Spring Security Version 6:\n\n-    Authentication using various authentication mechanisms of JWT.\n-    Authorization using role-based or permission-based access control.\n-    Password hashing and encryption.\n-    Session management and CSRF protection.\n-    Customizing authentication and authorization logic.\n\n## Resources =\u003e\nFor more information about Spring Security Version 6 and its features, refer to the official documentation:\n\u003ca href=\"https://spring.io/projects/spring-security/\"\u003eSpring Security Help\u003c/a\u003e\n\n## Contributing =\u003e\nContributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.\n\n## Installation and Run =\u003e\n-  You can clone this repo and start the serve on localhost\n-   Before running the API server, we should update the database config inside the application.properties file.\n-   Update the port number, username and password as per our local database config.\n    -   server.port=8888\n    -   spring.datasource.url=jdbc:mysql://localhost:3306/demo-controller OR,\n    -   spring.datasource.url=jdbc:h2:mem:testdb\n    -   spring.h2.console.path=/h2-console\n    -   spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver //OR \n    -   spring.datasource.username=**Your UserName**\n    -   spring.datasource.password=**YourPassword**\n    -   spring.jpa.hibernate.ddl-auto=update\n    -   spring.jpa.show-sql=true\n    -   spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER\n\n## Contact =\u003e\nFor any questions or inquiries, please contact sgrprmnk@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgrprmnk%2Fspringsecurity-6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgrprmnk%2Fspringsecurity-6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgrprmnk%2Fspringsecurity-6/lists"}