Positng XML over HTTPS

We are trying to do the following. Can anyone help by providing any pointers as how to do it.

1. A java client will be posting XML over http(s) to the IDM server.

2. The IDM server has to do the following:

- Validate the user credentails and verify that it is an valid user on IDM

- Do some DB operations and return back a response XML

We are trying to do this by having the Java client post XML over http to a jsp hosted on the IDM server

My questions are:

1. How do i retrieve the XML data from the HTTP post (from the HTTP body)

2. The password is sent in ecrypted format, so how do i validate that against the user id being passed to verify it is a valiud user.

Thanks

[734 byte] By [simusera] at [2007-11-27 5:53:23]
# 1

parse the xml using xml parsers and put the username and password values in hashmap (hm).

com.waveset.session.Session sess=SessionFactory.getSession((String)hm.get("userName"),new com.waveset.util.EncryptedData((String)hm.get("password")));

username and password are authenticated with idm . if they are authorized it returns session value otherwise throws exception.

banti_idma at 2007-7-12 15:46:18 > top of Java-index,Web & Directory Servers,Directory Servers...