Hi All

I encountered this error when logging in as a tenant. The tenant Domain
value that is added to the session object is "carbon.super" while the
Carbon Context holds the correct value this seems to happen in
the AbstractCarbonUIAuthenticator.onSuccessAdminLogin().

>From debugging what i understood is that this happens
because MultitenantUtils.getTenantDomain(String username) returns the super
tenant domain if the username is not sent in the format of "[email protected]".
Has the IS team encountered this issue ?

This inconsistency can also be seen from the console logs when logging into
IS as tenant and logging out

[2013-07-12 14:08:41,396]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'PRIMARY/
[email protected] [1]' logged in at [2013-07-12 14:08:41,396+0530]
[2013-07-12 14:08:46,616]  INFO
{org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -
 'PRIMARY/[email protected] [-1234]' logged out at [2013-07-12 14:08:46,0616]




Regards,
Pulasthi
-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: [email protected]
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to