[jboss-user] [Security & JAAS/JBoss] - Re: Logout from a WebService application

baeurlem do-not-reply at jboss.com
Thu Jan 31 05:22:49 EST 2008


Thanks again for all the replies

But:

I have no Servlet, I only have a @Stateless @WebService:



  | @Stateless
  | @WebService(name = "UserService", targetNamespace = Constants.NAMESPACE)
  | public class UserManagementEndpointImpl implements UserManagementEndpoint
  | {
  |    ...
  |    @WebMethod
  |    public void logout() {
  |       // what do do here?
  |    }
  |    ...
  | }
  | 
  | public interface UserManagementEndpoint
  | {
  | 	public void logout();
  | }
  | 
  | 


How can I access the HttpSession or the HttpServletRequest?

Is there a way to access this through JNDI? Is there a way to access the LoginContext through JNDI? I looked in the jmx-console but I did not find anything.

Regards,
Markus



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

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



More information about the jboss-user mailing list