vikas,

that depends on your transport configuration. 

Surely, basic authentication info are part of the axis MessageContext. 

As such, they are processed by, e.g., our JBossAuthenticationHandler that
authenticates them against a jboss security domain and associates the
calling thread with the corresponding security association. You can access
these information then, e.g., via standard mechanisms in your EJBs.
 
But if neither your request chain nor your provider implementation care
about these bits
of the messagecontext, you won�t be able to access them from your web
service implementation object (which should�nt be dependent on such
non-standard details, anyway).

So going the authentication handler-way together with JBoss/JAAS access
might be the right option.

CGJ


> -----Urspr�ngliche Nachricht-----
> Von: Ramrakhiani, Vikas [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 2. Juni 2003 16:43
> An: '[EMAIL PROTECTED]'
> Betreff: [JBoss-user] Getting remote user name Jboss-Net
> 
> 
> Hi,
> 
> I would like to know if there is a way to get the name of 
> user (along with
> domain) who invokes web service.
> 
> thanks for your help,
> vikas.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay! 
> http://adfarm.mediaplex.com/ad/ck/711-11697-> 6916-5
> 
> _______________________________________________
> 
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/j> boss-user
> 
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to