{"id":26139795,"url":"https://github.com/leanstacks/spring-security-fundamentals","last_synced_at":"2025-06-15T23:09:23.456Z","repository":{"id":85338148,"uuid":"44743220","full_name":"leanstacks/spring-security-fundamentals","owner":"leanstacks","description":"A companion for the LeanStacks YouTube channel playlist entitled Spring Security Fundamentals.","archived":false,"fork":false,"pushed_at":"2016-05-16T12:57:19.000Z","size":37,"stargazers_count":12,"open_issues_count":0,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-06T12:44:04.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.leanstacks.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanstacks.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":"2015-10-22T12:19:37.000Z","updated_at":"2020-06-09T20:05:07.000Z","dependencies_parsed_at":"2023-03-01T09:45:48.532Z","dependency_job_id":null,"html_url":"https://github.com/leanstacks/spring-security-fundamentals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leanstacks/spring-security-fundamentals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanstacks%2Fspring-security-fundamentals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanstacks%2Fspring-security-fundamentals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanstacks%2Fspring-security-fundamentals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanstacks%2Fspring-security-fundamentals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanstacks","download_url":"https://codeload.github.com/leanstacks/spring-security-fundamentals/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanstacks%2Fspring-security-fundamentals/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260063773,"owners_count":22953593,"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":[],"created_at":"2025-03-11T02:37:04.962Z","updated_at":"2025-06-15T23:09:23.426Z","avatar_url":"https://github.com/leanstacks.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Security Fundamentals\n\n## Acknowledgements\n\nThis is a [LEAN**STACKS**](http://www.leanstacks.com) solution.\n\nFor more detailed information and instruction about constructing Spring Boot RESTful web services, see the book [Lean Application Engineering Featuring Backbone.Marionette and the Spring Framework](https://leanpub.com/leanstacks-marionette-spring).\n\nLEAN**STACKS** offers several technology instruction video series, publications, and starter projects.  For more information go to [LeanStacks.com](http://www.leanstacks.com/).\n\n## Repository\n\nThis repository is a companion for the LEAN**STACKS** YouTube channel playlist entitled [Spring Security Fundamentals](https://www.youtube.com/playlist?list=PLGDwUiT1wr6-cvT21QHjfB_9xf7b7k7a-).\n\n### Repository Organization\n\nEach episode of the Spring Security Fundamentals video series has a corresponding branch in this repository.  For example, all of the source code illustrated in the episode entitled [Creating a Custom Spring Security Solution - Episode 1](https://youtu.be/XLfOlqG_tNU?list=PLGDwUiT1wr6-cvT21QHjfB_9xf7b7k7a-) may be found on the repository branch named [custom-db-1](https://github.com/mwarman/spring-security-fundamentals/tree/custom-db-1).\n\n### Branches\n\n#### custom-db-1\n\nThe branch named `custom-db-1` contains the source code illustrated in the episode [Creating a Custom Spring Security Solution - Episode 1](https://youtu.be/XLfOlqG_tNU?list=PLGDwUiT1wr6-cvT21QHjfB_9xf7b7k7a-).\n\n#### custom-db-2\n\nThe branch named `custom-db-2` contains the source code illustrated in the episode [Creating a Custom Spring Security Solution - Episode 2](https://youtu.be/DMgo-Zr5ESs?list=PLGDwUiT1wr6-cvT21QHjfB_9xf7b7k7a-).\n\n#### custom-db-3\n\nThe branch named `custom-db-3` contains the source code illustrated in the episode [Creating a Custom Spring Security Solution - Episode 3](https://youtu.be/xBKqwqB2uxQ?list=PLGDwUiT1wr6-cvT21QHjfB_9xf7b7k7a-).\n\n\n## Languages\n\nThis project is authored in Java.\n\n## Installation\n\n### Fork the Repository\n\nFork the [Spring Security Fundamentals](https://github.com/mwarman/spring-security-fundamentals) repository on GitHub.  Clone the project to your host machine.\n\n### Dependencies\n\nThe project requires the following dependencies be installed on the host machine:\n\n* Java Development Kit 8 or later\n* Apache Maven 3 or later\n\n## Running\n\nThe project uses [Maven](http://maven.apache.org/) for build, package, and test workflow automation.  The following Maven goals are the most commonly used.\n\n### spring-boot:run\n\nThe `spring-boot:run` Maven goal performs the following workflow steps:\n\n* compiles Java classes to the /target directory\n* copies all resources to the /target directory\n* starts an embedded Apache Tomcat server\n\nTo execute the `spring-boot:run` Maven goal, type the following command at a terminal prompt in the project base directory.\n\n```\nmvn spring-boot:run\n```\n\nType `ctrl-C` to halt the web server.\n\nThis goal is used for local machine development and functional testing.  Use the `package` goal for server deployment.\n\n### test\n\nThe `test` Maven goal performs the following workflow steps:\n\n* compiles Java classes to the /target directory\n* copies all resources to the /target directory\n* executes the unit test suites\n* produces unit test reports\n\nThe `test` Maven goal is designed to allow engineers the means to run the unit test suites against the main source code.  This goal may also be used on continuous integration servers such as Jenkins, etc.\n\nTo execute the `test` Maven goal, type the following command at a terminal prompt in the project base directory.\n\n```\nmvn clean test\n```\n\n### package\n\nThe `package` Maven goal performs the following workflow steps:\n\n* compiles Java classes to the /target directory\n* copies all resources to the /target directory\n* executes the unit test suites\n* produces unit test reports\n* prepares an executable JAR file in the /target directory\n\nThe `package` Maven goal is designed to prepare the application for distribution to server environments.  The application and all dependencies are packaged into a single, executable JAR file.\n\nTo execute the `package` goal, type the following command at a terminal prompt in the project base directory.\n\n```\nmvn clean package\n```\n\nThe application distribution artifact is placed in the /target directory and is named using the `artifactId` and `version` from the pom.xml file.  To run the JAR file use the following command:\n\n```\njava -jar example-1.0.0.jar\n```\n\nBy default, the batch and hsqldb profiles are active.  To run the application with a specific set of active profiles, supply the `--spring.profiles.active` command line argument.  For example, to start the project using MySQL instad of HSQLDB and enable the batch process:\n\n```\njava -jar example-1.0.0.jar --spring.profiles.active=mysql,batch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanstacks%2Fspring-security-fundamentals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanstacks%2Fspring-security-fundamentals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanstacks%2Fspring-security-fundamentals/lists"}