we need to restrict multiple login for same user i hav got the list of currently Logged user using the following code
MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0); String jaasMgrName = "jboss.security:service=JaasSecurityManager"; ObjectName jaasMgr = new ObjectName(jaasMgrName); Object[] params = { "SecurityPolicy" }; String[] signature = { "java.lang.String" }; loggedUsers = (List) server.invoke(jaasMgr, "getAuthenticationCachePrincipals", params, signature); But i could able to login more than once with the same username in the list.Is it possible to restrict the user to login only once with simple JAAS Configuration changes. thanks siva View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905765#3905765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905765 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user