{"id":20800303,"url":"https://github.com/atbashee/octopus-examples","last_synced_at":"2025-06-15T11:04:54.684Z","repository":{"id":44859035,"uuid":"78675349","full_name":"atbashEE/octopus-examples","owner":"atbashEE","description":"Examples for the Octopus framework (JAVA EE Security framework)","archived":false,"fork":false,"pushed_at":"2022-01-21T23:09:53.000Z","size":140,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T02:41:27.470Z","etag":null,"topics":["javaee","octopus","octopus-framework","security"],"latest_commit_sha":null,"homepage":null,"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/atbashEE.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}},"created_at":"2017-01-11T20:08:54.000Z","updated_at":"2019-10-22T16:57:08.000Z","dependencies_parsed_at":"2022-08-24T01:31:46.489Z","dependency_job_id":null,"html_url":"https://github.com/atbashEE/octopus-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atbashEE/octopus-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atbashEE%2Foctopus-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atbashEE%2Foctopus-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atbashEE%2Foctopus-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atbashEE%2Foctopus-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atbashEE","download_url":"https://codeload.github.com/atbashEE/octopus-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atbashEE%2Foctopus-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259964314,"owners_count":22938723,"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":["javaee","octopus","octopus-framework","security"],"created_at":"2024-11-17T18:13:13.341Z","updated_at":"2025-06-15T11:04:54.634Z","avatar_url":"https://github.com/atbashEE.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octopus-examples\nExamples for the Octopus framework (Java EE Security framework)\n\nNOTICE : I'm in the process of converting these examples to Atbash Octopus. The code for the 'old' Octopus is available within the _'old'-octopus_ branch.\n\n## demo directory\n\nContains some code examples of features of Octopus.\n\n/scs [Self-Contained System demo](https://www.atbash.be/2017/09/28/release_octopus_v097/) _see section Self-Contained Systems in the blog_\n\n/sessionHijacking [Session Hijacking protection demo](https://www.atbash.be/2017/11/06/session-hijacking-protection-with-octopus-framework/)  \nUpdated to Atbash Octopus\n\n/octopus-soteria [Java EE Security API integration with Octopus]( http://www.atbash.be/2018/01/08/java-ee-security-api-integration-with-octopus)\n\n/dynamicFilterChain  \nCustom FilterChainManager for custom loading of filter chain definitions and dynamically applying them.\n\n## gitbook directory\n\nContains the code examples which are created in the GitBook \"Octopus cookbook\".\n\n/ex1 [Simple JSF Application](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter1.html) _Getting Started with Authentication_\n\n/ex1_alt1 [Custom location for securedURLs.ini](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter1.html) Chapter1 alternative 1\n\n/ex1_alt2 [Custom file for the login page](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter1.html) Chapter1 alternative 2\n\n/ex1_alt3 [Alternative name for the loginBean](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter1.html) Chapter1 alternative 3\n\n/ex2 [Securing JSF Components](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter2.html) _Adding Authorization_\n\n/ex2_alt1 [Simple permissions](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter2.html) Chapter2 alternative 1\n\n/ex2_alt2 [Named permissions (String)](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter2.html) Chapter2 alternative 2\n\n/ex2_alt3 [Named permissions (Enum)](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter2.html) Chapter2 alternative 3\n\n/ex3 [Add logout feature](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter3.html)\n\n/ex3_part2 [Basic CDI events](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter3.html)\n\n/ex3_alt1 [Specify logout page](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter3.html) Chapter3 alternative 1\n\n/ex3_add1 [Audit user URL requests](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter3.html)\n\n/ex4 [Securing EJB methods](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter4.html)\n\n/ex5_srv [Server app with JAX-RS endpoint](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter5.html) _Building Octopus security context from JWT within header_\n\n/ex5 [Client app calling JAX-RS endpoint](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter5.html) _Adding JWT with authentication/authorization info about user automatically to JAX-RS client call_\n\n/ex6 [Authentication using Hashed passwords stored in DB](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-6.html)\n\n/ex6_alt1[Key derivation functions as passwords](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-6.html) Chapter6 alternative 1\n\n/ex6_alt2[HEX encoded hashed passwords](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-6.html) Chapter6 alternative 2\n\n/ex7 [Remember-me functionality](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-7.html)\n\n/ex7_alt1[Configuration of the cookie of remember-me](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-7.html) Chapter7 alternative 1\n\n/ex8 [authentication/authorization with LDAP](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-8.html)\n\n/ex9 [authentication/authorization with Google OAuth2 / OpenIdConnect](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-9.html)\n\n/ex9_alt1 [authentication/authorization with Github OAuth2 / OpenIdConnect](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-9.html) Chapter9 alternative 1\n\n/ex9_alt2 [authentication/authorization with multiple OAuth2 / OpenIdConnect](https://rdebusscher.gitbooks.io/octopus-cookbook/content/chapter-9.html) Chapter9 alternative 2\n\n## tests directory\n\nSome additional projects for testing\n\n/minimal: The minimal configuration required to make Octopus run.\n\n/classpathURLFile: securedURLs.ini on classpath\n\n/EE6_altConfig: alternatives 1, 2 and 3 for a Java EE 6 setup.\n\n/classpathURLFile: URL patterns defined in a classpath file.\n\n/permissionEnumMissing : JSF view uses name which doesn't exist in Enum.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatbashee%2Foctopus-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatbashee%2Foctopus-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatbashee%2Foctopus-examples/lists"}