{"id":19454808,"url":"https://github.com/fancellu/play-security-example","last_synced_at":"2025-07-12T20:38:59.842Z","repository":{"id":71450816,"uuid":"220981661","full_name":"fancellu/play-security-example","owner":"fancellu","description":"A couple of examples of play endpoint security, basic authentication and form based","archived":false,"fork":false,"pushed_at":"2019-11-11T13:36:01.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T10:32:49.378Z","etag":null,"topics":["basic-authentication","play-framework","scala","security"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/fancellu.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":"2019-11-11T12:56:47.000Z","updated_at":"2021-08-26T14:06:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"498d379d-5052-4aab-8887-96a3e6064585","html_url":"https://github.com/fancellu/play-security-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fancellu/play-security-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-security-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-security-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-security-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-security-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fancellu","download_url":"https://codeload.github.com/fancellu/play-security-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-security-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265049781,"owners_count":23703590,"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":["basic-authentication","play-framework","scala","security"],"created_at":"2024-11-10T17:12:05.730Z","updated_at":"2025-07-12T20:38:59.820Z","avatar_url":"https://github.com/fancellu.png","language":"Scala","readme":"# play-security-example\n\nA couple of examples of play endpoint security, basic authentication and form based\n\n## To run\n\n`sbt run` or `sbt runProd` to run in prod mode in place\n\nPoint browser at localhost:9000\n\nGET         /                     controllers.HomeController.index\n\n### https://en.wikipedia.org/wiki/Basic_access_authentication\n### https://tools.ietf.org/html/rfc7235#section-3.1\n\n### (name is admin, password is password)\nGET         /basic                controllers.HomeController.basic\n### (name is admin2, password is password2)\nGET         /basic2               controllers.HomeController.basic2\n\n### Form based login (name is admin, password is password)\n\nGET         /login                controllers.LoginController.login\n\nPOST        /login                controllers.LoginController.tryLogin\n\nGET         /logout               controllers.LoginController.logout\n\n\nGET         /loggedin             controllers.LoginController.loggedIn\n\nGET         /loggedin2            controllers.LoginController.loggedIn2\n\nGET         /maybeloggedin        controllers.LoginController.maybeLoggedIn\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fplay-security-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancellu%2Fplay-security-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fplay-security-example/lists"}