Sorry for the late response.
I don't think WSIF handle security.
You could try using the jsr181 component (see at the bottom of
http://servicemix.goopen.org/site/servicemix-jsr181.html)
but I think you will have the same problem.

Please raise a JIRA for this issue.
If you could set up a test case (I guess it won't be standalone, but ...)
using the jsr181 component and attach it to the JIRA, it would be very
helpfull and help to fix in a timely manner.

Cheers,
Guillaume Nodet

On 6/8/06, Anshuk Chinmoy Pal Chaudhuri <[EMAIL PROTECTED]>
wrote:


Hi,

I am trying to deploy  servicemix 2.0.2 on geronimo 1.0.The
servicemix.xml contains an EJB which is deployed on Geronimo server
only.
The ejb is being looked up from a standalone client correctly.

But while deploying the servicemix,where do I put the authentication
details of the ejb i.e. "java.naming.security.principal" and
"java.naming.security.credentials"?
Is there a way of putting it in the servicemix.xml?

I have tried it doing it in the following way:

<sm:activationSpec componentName="Inventory_EJBService"
service="foo:EJBService" destinationService="my:outputSender">
                   <sm:component>
                        <bean
xmlns="http://xbean.org/schemas/spring/1.0";
class="org.servicemix.components.wsif.WSIFBinding">
                          <property name="definitionResource"
value="EJB.wsdl"/>
                          <property name="operation"
value="checkInventory"/>
                          <property name="bindingName"
value="EJBBinding"/>
                          <property
name="java.naming.security.principal" value="geronimo"/>
                          <property
name="java.naming.security.credentials" value="geronimo"/>

                        </bean>
                   </sm:component>
                   </sm:activationSpec>

But while reading the servicemix.xml, the JBI is thrwoing an error
saying that the property names "java.naming.security.principal" and
"java.naming.security.credentials" is incorrect.
Where else and how can I put the values?
Please let me know.


Warm Regards,
Anshuk Pal Chaudhuri

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this e-mail
or its contents to any other person and any such actions are unlawful. This
e-mail may contain viruses. Infosys has taken every reasonable precaution to
minimize this risk, but is not liable for any damage you may sustain as a
result of any virus in this e-mail. You should carry out your own virus
checks before opening the e-mail or attachment. Infosys reserves the right
to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored
on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to