Hi,

Im just starting to use the Jaas SecurityManager in my app. 
(JBoss-2.2.2_Jetty-3.1.RC5 release). 

Im using the DatabaseServerLoginModule, and it works quite well.
When i go to my app in the browser i get the login screen, and
username and password gets verified. This principal data is used
by jBoss to verify access on my EJBs, great! 

Now i would like to save the name of the user which have logged 
on to the app, and also need to log the user out when the logout 
button is pressed. How do i do this? I.e., how do i get to the 
LoginContext or Subject in my ejb code, do i go through the 
JaasSecurityManager mbean?? I have a feeling this is a stupid
question, but it has confused me a bit :-(

Thanks...

^terp



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to