In your web.xml you give access to URLs by role...
<security-constraint>
<web-resource-collection>
<web-resource-name>Authentication</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>authuser</role-name>
</auth-constraint>
</security-constraint>
Then you define the connection between usernames and roles in the
database according the docs link I included earlier.
In your Axis client, you call setUsername and setPassword on the class
implementing the client stub.
On Thu, 27 Jan 2005 16:23:03 -0000, Suzy Fynes
<[EMAIL PROTECTED]> wrote:
> Does anyone know how the below would link to Axis?
>
> -----Original Message-----
> From: Andy Kriger [mailto:[EMAIL PROTECTED]
> Sent: 27 January 2005 15:03
> To: [EMAIL PROTECTED]
> Subject: Re: defining service to access MySQL DB
>
> If you are using Tomcat, you can setup a JDBC or JNDI Authentication
> Realm
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html
>
> Follow those instructions and the container will handle authentication
> before passing along to the AxisServlet (which means you configure
> auth in the web.xml/context.xml instead of the server-config.wsdd).
>
> On Thu, 27 Jan 2005 13:58:29 -0000, Suzy Fynes
> <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > Does anyone know what process to take to define an Axis service (in
> the
> > server-config.wsdd) to talk to a mysql database for authentication
> instead
> > of using the users.lst with roles/??
> >
> >
> >
> > Thanks
> >
> > Suzy
>
>