{"id":20810974,"url":"https://github.com/mrmodise/spring-security-with-spring-boot","last_synced_at":"2026-05-07T09:34:12.233Z","repository":{"id":150702046,"uuid":"64829957","full_name":"mrmodise/spring-security-with-spring-boot","owner":"mrmodise","description":"Secure a Spring Boot Web app using Spring security: user credentials from relational database","archived":false,"fork":false,"pushed_at":"2017-07-08T17:07:21.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T04:42:45.775Z","etag":null,"topics":["spring-boot","spring-mvc","spring-security-jwt"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmodise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-03T08:40:18.000Z","updated_at":"2018-08-19T12:11:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"486f2a71-8978-4482-b4b1-2505aea648c2","html_url":"https://github.com/mrmodise/spring-security-with-spring-boot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrmodise/spring-security-with-spring-boot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fspring-security-with-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fspring-security-with-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fspring-security-with-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fspring-security-with-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmodise","download_url":"https://codeload.github.com/mrmodise/spring-security-with-spring-boot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fspring-security-with-spring-boot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["spring-boot","spring-mvc","spring-security-jwt"],"created_at":"2024-11-17T20:35:17.620Z","updated_at":"2026-05-07T09:34:12.216Z","avatar_url":"https://github.com/mrmodise.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Spring Security With Spring Boot\nSecure a Spring Boot Web app using Spring security: user credentials from relational database\n\n### Overview\nA simple way to add security to your Java Spring Boot application\n\n### Requirements\n- Internet connection to download Maven dependencies\n- An understanding of Spring security\n- Spring Tool Suite (https://spring.io/tools/sts)\n\n### Setup\n- Clone the project or download the zip to your preferred location in your computer\n- Open the project in STS, right-click on the project Maven -\u003e update project\n- Alternatively on terminal run ```mvn package```\n\n### Manual Testing\n- Once the project has been fully loaded into STS, right-click then run as Spring Boot App\n- Open your browser and navigate to http://localhost:8080/ where you will be presented with a login menu\n- Enter username as nonadmin@gmail.com and password as ``password``\n\n\n### Further Testing\n\nSwitch between user ```nonadmin@gmail.com``` and ```admin@gmail.com```.\n\nObserve the differences in the presented information in the UI\n\nNote: nonadmin@gmail.com user will not have access to the admin content.\n\n\n### License\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Mr Modise\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmodise%2Fspring-security-with-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmodise%2Fspring-security-with-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmodise%2Fspring-security-with-spring-boot/lists"}