{"id":20963376,"url":"https://github.com/thorsten-l/sonia-webapp-bibauth","last_synced_at":"2026-05-18T02:32:47.829Z","repository":{"id":106382227,"uuid":"567423618","full_name":"thorsten-l/sonia-webapp-bibauth","owner":"thorsten-l","description":"LDAP auth provider for PICA, LBS Borrower Authentication Service external endpoint","archived":false,"fork":false,"pushed_at":"2022-11-18T10:04:39.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T07:31:19.140Z","etag":null,"topics":["java","rest-api","springboot"],"latest_commit_sha":null,"homepage":"","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/thorsten-l.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":"2022-11-17T19:01:32.000Z","updated_at":"2022-11-17T19:21:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3a9f990-68a2-4512-9336-1867eb72f22c","html_url":"https://github.com/thorsten-l/sonia-webapp-bibauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thorsten-l/sonia-webapp-bibauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fsonia-webapp-bibauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fsonia-webapp-bibauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fsonia-webapp-bibauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fsonia-webapp-bibauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorsten-l","download_url":"https://codeload.github.com/thorsten-l/sonia-webapp-bibauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fsonia-webapp-bibauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270771482,"owners_count":24642324,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["java","rest-api","springboot"],"created_at":"2024-11-19T02:44:36.173Z","updated_at":"2026-05-18T02:32:42.802Z","avatar_url":"https://github.com/thorsten-l.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sonia-webapp-bibauth\n\n## Create sample configuration file\n\n`./bibauth.jar --write-sample-configuration`\n\n### Output\n\n```text\nclient authorization token:  '\u003cplain random client authorization\u003e'\n```\n\n### sample `configuration.xml` file\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cconfiguration version=\"1.0\"\u003e\n    \u003cdescription\u003ebibauth configuration file\u003c/description\u003e\n    \u003cliveConfiguration\u003efalse\u003c/liveConfiguration\u003e\n    \u003cwebServerConfig\u003e\n        \u003ccontextPath\u003e\u003c/contextPath\u003e\n        \u003cport\u003e8080\u003c/port\u003e\n        \u003csessionTimeoutMinutes\u003e5\u003c/sessionTimeoutMinutes\u003e\n        \u003csslEnabled\u003efalse\u003c/sslEnabled\u003e\n        \u003ckeystoreConfig\u003e\n            \u003ctype\u003ePKCS12\u003c/type\u003e\n            \u003cpath\u003eclasspath:keystore/keystore.p12\u003c/path\u003e\n            \u003cpassword\u003eHJvuIK8a2vbQJ0nU+P58Kg==\u003c/password\u003e\n            \u003calias\u003ebibauth\u003c/alias\u003e\n        \u003c/keystoreConfig\u003e\n    \u003c/webServerConfig\u003e\n    \u003cldapConfig\u003e\n        \u003chostname\u003elocalhost\u003c/hostname\u003e\n        \u003cport\u003e3636\u003c/port\u003e\n        \u003csslEnabled\u003etrue\u003c/sslEnabled\u003e\n        \u003ccredentials\u003e\n            \u003cbindDN\u003ecn=SuperDuperAdmin\u003c/bindDN\u003e\n            \u003cpassword\u003eHJvuIK8a2vbQJ0nU+P58Kg==\u003c/password\u003e\n        \u003c/credentials\u003e\n    \u003c/ldapConfig\u003e\n    \u003cldapBarcodeAttributeName\u003ebarcode\u003c/ldapBarcodeAttributeName\u003e\n    \u003cclientAuthorizationToken\u003eXqFOrgcfVN1kX6isBCrHDbYLe3kuWbqJWPimLiuVvYtDLhsfu0J322CWbHwa3FyE\u003c/clientAuthorizationToken\u003e\n    \u003corganizations\u003e\n        \u003corganization name=\"orgA\"\u003e\n            \u003cbaseDn\u003eou=people,o=org-a.de,dc=text,de=de\u003c/baseDn\u003e\n            \u003csearchFilter\u003e(\u0026amp;(objectClass=person)(uid={0}))\u003c/searchFilter\u003e\n            \u003csearchScope\u003eONE\u003c/searchScope\u003e\n        \u003c/organization\u003e\n        \u003corganization name=\"orgB\"\u003e\n            \u003cbaseDn\u003eo=org-b.de,dc=text,de=de\u003c/baseDn\u003e\n            \u003csearchFilter\u003e(\u0026amp;(objectClass=eduperson)(cn={0}))\u003c/searchFilter\u003e\n            \u003csearchScope\u003eSUB\u003c/searchScope\u003e\n        \u003c/organization\u003e\n    \u003c/organizations\u003e\n\u003c/configuration\u003e\n```\n\n## Show options\n\n`./bibauth.jar -h`\n\n```text\nUsage: ./bibauth.jar [options]\n\n --check (-c) WERT            : Check given config file\n --encrypt (-e) WERT          : Encrypt given password\n --generate (-g) N            : Generate random password (Vorgabe: 0)\n --help (-h)                  : Displays this help (Vorgabe: true)\n --version (-v)               : Display programm version (Vorgabe: false)\n --write-sample-configuration : Write sample configuration file (Vorgabe: false)\n```\n\n## Run bibauth service\n\n`./bibauth.jar`\n\n## Very Important for a production environment!!!\n\n  - Enable HTTPS protocol or put an nginx or Apache HTTPd proxy in front of the bibauth service to provide the HTTPS protocol.\n\n  - Configure your Firewall to restrict the client source ip-addess to the destination service ip-address\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fsonia-webapp-bibauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorsten-l%2Fsonia-webapp-bibauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fsonia-webapp-bibauth/lists"}