hi All,

In AF latest deployment, AF has a separate UM and Registry database where
as Straos side has a separate UM and registry database. All are pointing to
same LDAP.

Once the tenant get registered, login to AF side and click on app cloud,  a
listener will be invoked in Stratos side which does addTenant process.
Since the user is logged in, the tenant password is set to a garbage value
and it will be sent to Stratos side. This will update the tenant admin
password to a garbage value with persistTenant method in TenantPesistor [1]
(Line no 204).

We thought of writing a custom userstore and override
updateCredentialByAdmin as follows:

Send either an empty password or a constant from AF side and password
update will not happen in override method by checking that condition.

Please share your thoughts.


[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core/2.2.0/src/main/java/org/wso2/carbon/tenant/mgt/core/
-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com <http://wso2>
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



 <http://lalajisureshika.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to