[
https://jira.jboss.org/jira/browse/JBESB-807?page=com.atlassian.jira.plug...
]
Tom Fennelly commented on JBESB-807:
------------------------------------
On the request of support, I had another look at this last week just to see was there any
way we could make this work for the ESB. Thought I better add the comments I sent to
those guys.....
As far as the suggested approach of defining custom Marshallers and UnMarshallers on the
JBR invoker:
1. The unmarshallers have no way to signal to the invoker that auth is required.
2. The CoyoteInvoker itself was not written to support auth at all.
3. The Unmarshallers are only used for POST and PUT, so the other methods would not be
covered at all (GET, DELETE etc).
There's probably a way of doing this by overriding the protocol handler
(Http11Protocol) and specifying it in the config (param -
"protocolHandlerClassName"). From there, you could intercept the call to the
Adapter class (CoyoteInvoker in this case) service() method and wrap in the auth checks
there.
JBossRemotingGateway doesn't support Http BASIC Auth (and
probably more)
------------------------------------------------------------------------
Key: JBESB-807
URL:
https://jira.jboss.org/jira/browse/JBESB-807
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Transports
Affects Versions: 4.2 Milestone Release 3
Reporter: Tom Fennelly
Assignee: Tom Fennelly
Fix For: 4.x
Talked with Ron Sigal and he thinks we might have to explicitly use the Servlet transport
(i.e. the CoyoteInvoker might not be configurable for BASIC auth).
Here's what Ron said exactly.....
"1. HTTPServerInvoker is obsolete. It's been replaced by CoyoteInvoker.
2. According to my O'Reilly Tomcat book, BASIC authorization is configured in the
web.xml file by the <login-config> element. But CoyoteInvoker doesn't use the
full Tomcat implementation, just the Coyote adapter. I'm really not sure if the
Coyote adapter has anything to do with the web.xml file.
3. There is another Remoting transport, the servlet transport, which really does use
Tomcat. It uses a servlet as a front end to the server invoker. There's even a
web.xml file: src\etc\web\web.xml in the Remoting project directory."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira