How to fetch WebAppComponentRuntimeMBean object in much faster way in WL Clustered env
I am using WL 10.3 and a self made custom authenticator,
My Requirement is:
If one user first logs in and then another user tries to log in with the same username from some other place then previously logged-in user should be kicked out or his session should be invalidated and keep the the latest user's session alive , to achieve this, i have used code below:
E'thing is done via JMX and Logic is:
1. First get all managed servers in cluster
2. For each managed server, get all deployed applications in cluster
3. For each deployed application, get webApps in those applications etc.