1.) I have Tried with WL.Client.isUserAuthenticated(realm)
but it was not working.
2.) So i tired with refreshing the relams by WL.Client.updateUserInfo (options)
in function function wlCommonInit()
and tried with refreshing outside of the wlCommonInit()
function.
3.) I tried to retrieve the logged in Users details from Client side by these also:
a ) WL.Client.getUserName(realm)
b ) WL.Client.getLoginName(realm)
c ) WL.Client.isUserAuthenticated(realm)
But not able to get Boolean value as True
for WL.Client.isUserAuthenticated(realm)
and active details of User logged in for particular realm.
Would be please let me know the proper details or methods to get the Active Users details without using WL.Server.getActiveUser(realm)
from server side.
I just wanted how to do in client side.
Regards,
Sheikh Mohammed Shamnoon
=====Comment
I am Able to get the User which i have set by using "WL.Server.setActiveUser(Realm, userIdentity);".I don't have any problem in getting the logged in user which is set in server end,I am retrieving for different adapter by using " WL.Server.getActiveUser("SingleStepAuthRealm");", That way it works by passing isAuthenticated as another object while returning authRequired == false,I want in Client side i am not able to retrieve value for WL.Client.isUserAuthenticated() == "true" even if user is logged in i tried refreshing realms by using "WL.Client.updateUserInfo (options)" even i tried with delay after refreshing "WL.Client.updateUserInfo (options)" then called "WL.Client.isUserAuthenticated()" but still not working for me..
Call to WL.Client.updateUserInfo();?
WL.Client.isUserAuthenticated(realm)
Similar issue addressed here.