Bug 1403939
| Summary: | [GSS] (6.4.z) @javax.jws.Oneway causes security-context to be lost | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | dhorton |
| Component: | Web Services | Assignee: | Radovan Netuka <rnetuka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiří Bílek <jbilek> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.11 | CC: | asoldano, bmaxwell, dosoudil, jbilek, rnetuka |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.19 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-16 11:06:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1498153, 1509804 | ||
|
Description
dhorton
2016-12-12 16:35:42 UTC
To reproduce this issue, build a secured EJB3 web service and annotate a method with @RolesAllowed and @Oneway. The thread that starts the request will be authenticated and assigned roles correctly, but the security-context is not copied to the thread that handles the oneway call. This will result in an invalid user / permission denied issue. Verified with EAP 6.4.19.CP.CR1 |