Hi All, I want to get logged in username and password inside one of my carbon component written for WSO2 CEP product. I used following two methods to get username from carbon context but both returned null. But getTenantId returns -1234 for admin user with no issue. Is there alternative way to get username?
PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() CarbonContext.getThreadLocalCarbonContext().getUsername() Thanks, -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
