MUCHIRI,WAHOME (HP-PaloAlto,ex1) wrote:
> Hi folks,
> I am builiding a client application for content management that talks to
> slide running on tomcat 4.0.3.
> I'd like to implement a user management piece in java that can do the
> following:
> -create a new user
> -remove a user
> -change a user's password
> -assign a role to the user (optionally create a new  role and assign it to
> the user)
> 
> The current slide client (specifically 'webdavresource') does not support
> such functionality. I have looked at the slide-admin web application to get
> an idea of how to simulate that browser experience and turn it into a
> programmatic interface. However, that does not give me a complete picture of
> all the steps that i need to implement to make this piece work.In
> particular, I'd like to open a connection to the slide server, make an
> appropriate request to slide to either create/remove/edit a user, and then
> close the connection. 
> ANY help would be greatly appreciated.
> Wahome

If you want to do user management in a remote process, you can either 
use WebDAV (like the suggestion of copying a 'template' user around) or 
roll your own interface. The admin webapp works because it's running in 
the same JVM, so it is indeed not the approach you need.

IMHO the WebDAV approach is a bit of a hack. I would suggest creating a 
little XML-RPC servlet that provides the functionality of the 
slide-admin application as an RPC interface. Look at 
http://xml.apache.org/xml-rpc/ for an XML-RPC API that is lightweight 
yet very easy to use.

-- 
Christopher Lenz
/=/ cmlenz at gmx.de


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to