{"id":23859205,"url":"https://github.com/openconext/openconext-saml-java","last_synced_at":"2025-02-22T10:53:44.683Z","repository":{"id":191800895,"uuid":"685417557","full_name":"OpenConext/openconext-saml-java","owner":"OpenConext","description":"A JAVA library for implementing a minimal SAML IdP for connecting to Openconext-Engineblock","archived":false,"fork":false,"pushed_at":"2025-02-19T09:21:11.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-02-19T10:27:00.435Z","etag":null,"topics":[],"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/OpenConext.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":"2023-08-31T07:22:36.000Z","updated_at":"2025-02-19T09:21:15.000Z","dependencies_parsed_at":"2023-11-16T13:48:20.316Z","dependency_job_id":"1896b483-9169-476a-a452-ec921df5accb","html_url":"https://github.com/OpenConext/openconext-saml-java","commit_stats":null,"previous_names":["openconext/openconext-samlidp-libjava","openconext/openconext-saml-java"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2Fopenconext-saml-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2Fopenconext-saml-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2Fopenconext-saml-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2Fopenconext-saml-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenConext","download_url":"https://codeload.github.com/OpenConext/openconext-saml-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240163548,"owners_count":19758028,"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-01-03T03:32:48.756Z","updated_at":"2025-02-22T10:53:44.677Z","avatar_url":"https://github.com/OpenConext.png","language":"Java","readme":"# openconext-samlidp-libjava\n[![JAVA CI](https://github.com/OpenConext/openconext-samlidp-libjava/actions/workflows/actions.yml/badge.svg)](https://github.com/OpenConext/openconext-samlidp-libjava/actions/workflows/actions.yml)\n![Coverage](.github/badges/jacoco.svg)\n![Branches](.github/badges/branches.svg)\n\n### [Dependencies](#dependencies)\n\nThe 3.0.0. release now uses the latest `tomcat-embed-core` which is compliant with Spring Security 6. All references\nto `javax.servlet.http.HttpServletResponse` have been replaced with `jakarta.servlet.http.HttpServletResponse`.\n\n### [Usage](#usage)\n\nThe main interface of the SAML library is `SAMLService`. \nIt provides the following functionality for service / identity providers:\n- create an (optionally signed) `org.opensaml.saml.saml2.core.AuthnRequest`\n- construct the SP metadata\n- parsing SAML to an `org.opensaml.saml.saml2.core.AuthnRequest`\n- sending SAML response back to the Service Provider\n- construct the IdP metadata\n- resolve the SigningCredential of a Service Provider based on the metadata URL\n\n### [Crypto](#crypto)\n\nThe saml-java library uses a private RSA key and corresponding certificate to sign the SAML requests. If you want to\ndeploy the application in an environment where the certificate needs to be registered with the Service Provider (Proxy)\nthen you can generate a key pair with the following commands:\n```\nopenssl genrsa -traditional -out saml_idp.pem 2048\nopenssl req -subj '/O=Organization, CN=SURF/' -key saml_idp.pem -new -x509 -days 365 -out saml_idp.crt\n```\nIf you need to register the IdP public key somewhere then issue this command and copy \u0026 paste it for the correct IdP:\n```\ncat saml_idp.crt |ghead -n -1 |tail -n +2 | tr -d '\\n'; echo\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenconext%2Fopenconext-saml-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenconext%2Fopenconext-saml-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenconext%2Fopenconext-saml-java/lists"}