[jboss-user] [JBossWS] - Re: Authentification in jax-rpc

palin do-not-reply at jboss.com
Thu Oct 12 04:09:49 EDT 2006


Are you exposing your ws through an ejb3 endpoint? If so, take a look at the javax.ejb.SessionContext method; as a matter of fact, something like sessionContext.getCallerPrincipal().getName() provides you the username of the current logged user.

Bye
Alessio Soldano
http://www.javalinux.it/blogs

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977793#3977793

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977793



More information about the jboss-user mailing list