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
No, custom code is needed.