Hello
I am trying to find a way to restrict an application user to only being logged-in once. My idea is to have a map with the user names and session ids. My main problem is how do I create this object and make it available to a custom login module.
My idea is to create an MBean and to access this from the login class to see if a user is already logged in. I would also need to access the map from a SessionListener class as well to update the data in the map.
Does anyone have any better suggestions or pointers on how to go about this.
thanks
mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062966#4062966
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062966
Is it possible start a pageflow in a decision node?
I'm writing a registration procedure for a website and part of the procedure is to send a validation email, then the user clicks in a link that redirect him to a page where the validation can be finished.
However I'd like to check if that account already was validated, if the validationId (received as parameter through the link) is valid, etc. Depending on that decisions I need to go to a different page.
How is the proper way to accomplish that?
Thanks and sorry by my English,
Petterson
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062960#4062960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062960