{"id":26070281,"url":"https://github.com/fresult/just-spring-security","last_synced_at":"2026-04-21T02:03:58.936Z","repository":{"id":273243274,"uuid":"919078211","full_name":"fResult/Just-Spring-Security","owner":"fResult","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T18:07:57.000Z","size":158,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T19:22:35.688Z","etag":null,"topics":["gradle-kotlin-dsl","junit5","kotlin","mockito","mockmvc","spring-boot","spring-security"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/fResult.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-19T16:48:23.000Z","updated_at":"2025-02-04T18:08:00.000Z","dependencies_parsed_at":"2025-01-19T18:35:14.636Z","dependency_job_id":"cbfb9168-5159-40ed-a0bc-d5af135b21b8","html_url":"https://github.com/fResult/Just-Spring-Security","commit_stats":null,"previous_names":["fresult/just-spring-security"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fResult%2FJust-Spring-Security","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fResult%2FJust-Spring-Security/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fResult%2FJust-Spring-Security/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fResult%2FJust-Spring-Security/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fResult","download_url":"https://codeload.github.com/fResult/Just-Spring-Security/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242619124,"owners_count":20159003,"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":["gradle-kotlin-dsl","junit5","kotlin","mockito","mockmvc","spring-boot","spring-security"],"created_at":"2025-03-08T23:15:43.728Z","updated_at":"2026-04-21T02:03:58.898Z","avatar_url":"https://github.com/fResult.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Just Spring Security\n\n## Available Scripts\n\n### For `01-my-spring-security` module\n\n**To start the *01-my-spring-security* project, you can run:**\n\n```bash\n./gradlew :01-my-spring-security:bootRun\n```\n\n### For `02-method-security` module\n\n**To start the *02-method-security* project, you can run:**\n\n```bash\n./gradlew :02-method-security:bootRun\n```\n\n### For `03-oauth` module\n**Preparation Environment Variables**\n\n```bash\ncp 03-oauth/.envTemplate 03-oauth/.env\n```\n\nThen update the `.env` file with your own values.\\\nYou can generate by creating credentials of OAuth Client ID.\n\n- **Application Type:** Web Application\n- **Name:** `Spring Security` (or any application name you want)\n- **Authorized JavaScript origins:** (Optional) We can leave it blank\n- **Authorized redirect URIs:** `http://localhost:8080/login/oauth2/code/okta`\n\n**To start the *03-oauth* project, you can run:**\n\n```bash\n./gradlew :03-oauth:bootRun\n```\n\n### For `04-testing-with-junit5` module\n\n**To start the *04-testing-with-junit5* project, you can run:**\n\n```bash\n./gradlew :04-testing-with-junit5:bootRun\n```\n\n### For `05-spring-security-test` module\n\n**To start the *05-spring-security-test* project, you can run:**\n\n**For normal run (let's say it is implicitly `production`):**\n\n```bash\n./gradlew :05-spring-security-test:bootRun\n```\n\n**For `test` profile run:**\n\n```bash\n./gradlew :05-configure-app:bootRun -Dspring.profiles.active=test\n``` \n\nOr with the following command:\n\n```bash\nSPRING_PROFILES_ACTIVE=test ./gradlew :05-configure-app:bootRun\n```\n\n### For `99-event-driven-arch` module\n\n**To try Event-Driven Architecture, you can run:**\n\n```bash\n./gradlew 99-event-driven-arch:run\n```\n\n## APIs Usage\n\n### 01-my-spring-security\n\n- See [README](./01-my-first-security/README.md)\n\n### 02-method-security\n\n- See [README](./02-method-security/README.md)\n\n### 03-oauth\n\n- See [README](./03-oauth/README.md)\n\n### 04-testing-with-junit5\n\n- See [README](./04-testing-with-junit5/README.md)\n\n### 05-spring-security-test\n\n- See [README](./05-configure-app/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffresult%2Fjust-spring-security","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffresult%2Fjust-spring-security","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffresult%2Fjust-spring-security/lists"}