{"id":22954946,"url":"https://github.com/e-contract/jaxws-demo","last_synced_at":"2025-04-02T00:27:03.971Z","repository":{"id":85125369,"uuid":"375265862","full_name":"e-Contract/jaxws-demo","owner":"e-Contract","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-09T07:30:31.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T16:51:18.936Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e-Contract.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":"2021-06-09T07:29:32.000Z","updated_at":"2021-06-09T07:30:35.000Z","dependencies_parsed_at":"2023-03-13T04:23:30.293Z","dependency_job_id":null,"html_url":"https://github.com/e-Contract/jaxws-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-Contract%2Fjaxws-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-Contract%2Fjaxws-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-Contract%2Fjaxws-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-Contract%2Fjaxws-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-Contract","download_url":"https://codeload.github.com/e-Contract/jaxws-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246732577,"owners_count":20824769,"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":"2024-12-14T16:20:05.805Z","updated_at":"2025-04-02T00:27:03.939Z","avatar_url":"https://github.com/e-Contract.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JAX-WS Demo Project\n\nThis project allows for experimentations with JAX-WS within a JBoss EAP 7.3 or WildFly 23 application server.\n\nWe demonstrate adding support for ECDSA as the WS-Policy level.\n\nThis project implements the following WS-SecurityPolicy:\n```xml\n\u003csp:AlgorithmSuite\u003e\n    \u003cwsp:Policy\u003e\n        \u003cwsp:ExactlyOne\u003e\n            \u003csp:Basic128 /\u003e\n            \u003csp:Basic256 /\u003e\n            \u003cecsp:Basic128ECDSA xmlns:ecsp=\"urn:be:e-contract:security-policy\"/\u003e\n            \u003cecsp:Basic256ECDSA xmlns:ecsp=\"urn:be:e-contract:security-policy\"/\u003e\n        \u003c/wsp:ExactlyOne\u003e\n    \u003c/wsp:Policy\u003e\n\u003c/sp:AlgorithmSuite\u003e\n```\nallowing the usage of ECDSA signatures for WS-Security based authentication.\n\n\n## Apache Configuration:\n\nUse the following apache configuration file:\n```\n\u003cLocation \"/jaxws-demo\"\u003e\n    ProxyPass ajp://localhost:8009/jaxws-demo\n    ProxyPassReverse ajp://localhost:8009/jaxws-demo\n\u003c/Location\u003e\n```\n\nWe tried the following over HTTP, but then we receive a WS-Policy verification error (TransportBinding: TLS is not enabled).\n```\n\u003cLocation \"/jaxws-demo\"\u003e\n    ProxyPass http://localhost:8080/jaxws-demo\n    ProxyPassReverse http://localhost:8080/jaxws-demo\n\tRequestHeader set X-Forwarded-Proto \"https\" \n    ProxyPreserveHost On\n\u003c/Location\u003e\n```\n\n## JBoss Configuration\n\nUse the following undertow AJP connector configuration:\n```xml\n\u003cajp-listener name=\"ajp\" socket-binding=\"ajp\"/\u003e\n```\n\nUse the following logging configuration:\n```xml\n            \u003cperiodic-rotating-file-handler name=\"DEMO\" autoflush=\"true\"\u003e\n                \u003clevel name=\"DEBUG\"/\u003e\n                \u003cformatter\u003e\n                    \u003cnamed-formatter name=\"PATTERN\"/\u003e\n                \u003c/formatter\u003e\n                \u003cfile relative-to=\"jboss.server.log.dir\" path=\"demo.log\"/\u003e\n                \u003csuffix value=\".yyyy-MM-dd\"/\u003e\n                \u003cappend value=\"true\"/\u003e\n            \u003c/periodic-rotating-file-handler\u003e\n            \u003clogger category=\"be.e_contract.demo\" use-parent-handlers=\"false\"\u003e\n                \u003clevel name=\"DEBUG\"/\u003e\n                \u003chandlers\u003e\n                    \u003chandler name=\"DEMO\"/\u003e\n                \u003c/handlers\u003e\n            \u003c/logger\u003e\n            \u003clogger category=\"org.jboss.ws\" use-parent-handlers=\"false\"\u003e\n                \u003clevel name=\"DEBUG\"/\u003e\n                \u003chandlers\u003e\n                    \u003chandler name=\"DEMO\"/\u003e\n                \u003c/handlers\u003e\n            \u003c/logger\u003e\n            \u003clogger category=\"org.apache.cxf\" use-parent-handlers=\"false\"\u003e\n                \u003clevel name=\"DEBUG\"/\u003e\n                \u003chandlers\u003e\n                    \u003chandler name=\"DEMO\"/\u003e\n                \u003c/handlers\u003e\n            \u003c/logger\u003e\n            \u003clogger category=\"org.jboss.wsf\" use-parent-handlers=\"false\"\u003e\n                \u003clevel name=\"DEBUG\"/\u003e\n                \u003chandlers\u003e\n                    \u003chandler name=\"DEMO\"/\u003e\n                \u003c/handlers\u003e\n            \u003c/logger\u003e\n```\n\n## Deploy the demo web application\n\nDeploy on a local running WildFly application server via:\n```\nmvn clean install wildfly:deploy\n```\n\nYou can run the integration tests using the `integration-tests` Maven profile.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-contract%2Fjaxws-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-contract%2Fjaxws-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-contract%2Fjaxws-demo/lists"}