How can I retrieve the authenticated user from within an MBean

"AGYNAMIX Torsten Uhlmann" <[email protected]>
Newsgroups gmane.comp.java.mx4j.user
Organization AGYNAMIX
Message-ID <004201c69f8a$8289ccd0$1d47fea9@JOSHUA>
Hi,
 
I'm using an authenticated JMX connection (MX4J with PasswordAuthenticator)
over RMI using the JMXAuthenticator to authenticate a user.
 
Now when an MBean is invoked by the Client I'd like to retrieve the Subject
instance created during authentication (I need the user's name) within this
MBean to log which user is performing which operation.
 
Can you please point out the several steps to do this?
 
Thanks,
Torsten.
 


--

Torsten Uhlmann
AGYNAMIX(R). Sheltering Talent.

Phone:   +49 3721 273445
Fax:     +49 3721 273446
Mobile:  +49 177 5261680
Web:     http://www.agynamix.de <http://www.agynamix.de/>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Mx4j-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mx4j-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.