| Summary: | GET returns empty content for authenticated (?) URI | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Pazdziora <jpazdziora> |
| Component: | jboss-as | Assignee: | Marek Goldmann <mgoldman> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | jcacek, jpazdziora, mgoldman, smarlow |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-28 11:06:08 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: | |
|
Description
Jan Pazdziora
2013-10-01 09:41:28 UTC
Applying
diff --git a/deployments/spnego-demo.war/WEB-INF/web.xml b/deployments/spnego-demo.war/WEB-INF/web.xml
index c4dcc25..f041afc 100644
--- a/deployments/spnego-demo.war/WEB-INF/web.xml
+++ b/deployments/spnego-demo.war/WEB-INF/web.xml
@@ -8,9 +8,11 @@
<web-resource-name>Protect User data</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
+<!--
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
+-->
</security-constraint>
<security-role>
makes the content show (but without authentication (which is expected)) which at least partially verifies that JBoss is capable of serving that file.
Does the error exist in the upstream version (zip) of jboss-as 7.1.1.Final too? Yes, I see the same behaviour with http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Fin.zip. I just took the exploded jboss-as-7.1.1.Final directory, copied it to RHEL 6.4 where jboss-eap-6.1 works, and the problem is there as well. Which makes me believe that it's not a Fedora-specific issue. Do you have a way to report the problem upstream? Since jboss-as is not maintained anymore and the codebase moved to wildfly (with the latest release 8.0.0.Alpha4) we need to check if this is fixed n the latest release. You can do it by using Fedora 20+ packaged wildfy (I'm going submit updated package very soon, again) or using the upstream zip. All issues regarding upstream code should be reported here: https://issues.jboss.org/browse/WFLY but if we confirm that this issue is true for a Fedora package (wildfly namely), I'll file the bug upstream. With wildfly-8.0.0.Alpha4.zip on Fedora 19, the SPNEGO does not seem to work at all -- I get 403 Forbidden when I apply the same configuration I used for AS 7 and EAP 6.1. AFAIK, Valves are still not supported in Wildfly (namely Undertow - new web server implementation). JBoss Negotiation requires usage of NegotiationAuthenticator valve for correct work. OK, I'm closing this issue as CANTFIX. Please watch the wildfly upgrades in F20/Rawhide, this should fix the issue once the feature will be implemented in Undertow. |