axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Boorshtein <marc.boorsht...@octetstring.com>
Subject RE: Enabling SimpleAuthenticationHandler?
Date Wed, 30 Jul 2003 05:22:34 GMT
I don't think the issue is in the wsdd file, but in web.xml.  Using
HTTPAuthHandler, how do I tell axis where the users are?


On Wed, 2003-07-30 at 01:23, Yakulis, Ross (Ross) wrote:
> Below is an example of a simple "CountSessionHandler" that I have.
> note the requestFlow and responseFlow tags. 
> 
> To activate the authentication handler you need to add tags to your
> deploy.wsdd and redeploy your service as I suggested below.  If this 
> does not solve your problem then I am not sure I understand your 
> original question.
> 
> ...
> ...
> 
>  </globalConfiguration>
>  <handler name="CountSession" type="java:com.avaya.ws.CountSessionHandler"/> <service
name="Count" provider="java:RPC">
> ...
> ...
> ...
>  <service name="Count" provider="java:RPC">
>   <operation name="add" qname="ns3:add" xmlns:ns3="urn:com.avaya.Count">
>    <parameter name="in0" type="xsd:int" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
>   </operation>
>   <requestFlow>
>    <handler type="CountSession"/>
>   </requestFlow>
>   <responseFlow>
>    <handler type="CountSession"/>
>   </responseFlow>
>   <parameter name="allowedMethods" value="add"/>
>   <parameter name="wsdlPortType" value="Count"/>
>   <parameter name="scope" value="Session"/>
>   <parameter name="className" value="com.avaya.ws.CountSoapBindingImpl"/>
>   <parameter name="wsdlServicePort" value="Count"/>
>   <parameter name="wsdlTargetNamespace" value="urn:com.avaya.Count"/>
>   <parameter name="wsdlServiceElement" value="CountService"/>
>  </service>
> 
> -----Original Message-----
> From: Marc Boorshtein [mailto:marc.boorshtein@octetstring.com]
> Sent: Tuesday, July 29, 2003 9:25 PM
> To: axis-user@ws.apache.org
> Subject: RE: Enabling SimpleAuthenticationHandler?
> 
> 
> ok, after looking at the config file i found that the HTTPAuth handler
> is used in the http transport.  I can't find any examples as to how to
> use this though.  Could someone point to some docs or example
> configurations?
> 
> Thanks
> 
> Marc Boorshtein
> On Tue, 2003-07-29 at 21:09, Yakulis, Ross (Ross) wrote:
> > Try adding the following to your deploy.wsdd.
> > 
> >   <service .....>
> >    	<requestFlow>
> >         <handler type="Authenticate"/>
> >       </requestFlow>
> >   </service>
> > 
> > -----Original Message-----
> > From: Marc Boorshtein [mailto:marc.boorshtein@octetstring.com]
> > Sent: Tuesday, July 29, 2003 5:51 PM
> > To: axis-user@ws.apache.org
> > Subject: Enabling SimpleAuthenticationHandler?
> > 
> > 
> > Hello,
> > 
> > I noticed that the simple authentication handler is present in my config
> > file, but it doesnt seem to be enabled.  Am I supposed to add a
> > parameter to the service before I deploy it?
> > 
> > Thanks
-- 
Marc Boorshtein, Software Engineer
Octet String Inc.
Phone: +1-847-466-1884
Email: marc.boorshtein@octetstring.com


Mime
View raw message