Hi Gayan, What happens if we delete the new user again ? Then the prefix "old" is added to that but now this username is already there in SalesForce right ? Therefore we need a numbering scheme to solve this I guess. Your current solution in [1] works only for one deletion. I think for now it is better to say we don't support adding users with previously deleted names rather than allowing to create such users just once. We could have it as a known limitation for this release.
[1] https://github.com/wso2/carbon-identity/pull/1442 Thanks. On Wed, Nov 18, 2015 at 8:11 PM, Gayan Gunawardana <[email protected]> wrote: > Hi Harsha, > > Thanks a lot for pointing to [1]. We can do a similar kind of solution > like say for an example if user is "[email protected]" when deleting user > it will be renamed to "[email protected]" from sales force side. By > default old prefix will be added to username and we can provide extension > point to customize user renaming logic according to requirement. > > [1] > https://help.salesforce.com/apex/HTViewSolution?id=000175924&language=en_US > > Thanks, > Gayan > > On Wed, Nov 18, 2015 at 1:01 PM, Harsha Thirimanna <[email protected]> > wrote: > >> Hi Gayan, >> >> Is that right to use existing salesforce user account for some other >> users even though the user name is the same ? There can be some more >> information updated in that profile after create this account. If it is not >> a problem then no issue. >> >> There was an one suggestion in there community site [1] >> >> [1] >> https://help.salesforce.com/apex/HTViewSolution?id=000175924&language=en_US >> >> >> *Harsha Thirimanna* >> Senior Software Engineer; WSO2, Inc.; http://wso2.com >> * <http://www.apache.org/>* >> *email: **[email protected]* <[email protected]>* cell: +94 71 5186770 * >> *twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>* >> *harshathirimannlinked-in: **http: >> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 >> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* >> >> *Lean . Enterprise . Middleware* >> >> >> On Wed, Nov 18, 2015 at 11:40 AM, Gayan Gunawardana <[email protected]> >> wrote: >> >>> $subject regarding reported jira [a] >>> >>> Use Case : Configure Sales force as Outbound provisioning connector. In >>> resident Identity Provider select Sales force configured IDP for Outbound >>> Provisioning Configuration. When users are added through management console >>> or SCIM users will be provisioned to Sales force while adding to Identity >>> Server. >>> >>> Special Case : With above configuration add a user to identity server >>> (from management console). User will be added to Identity Server as well as >>> Sales force. >>> Delete the user from management console now user will be deleted from >>> Identity Server and in Sales force user will be marked as Inactive. Up to >>> now this is expected behavior. >>> Once we try to add, deleted user again user will be added to Identity >>> Server but Sales force provisioning will be failed. Sales force >>> provisioning connector receive "400 Bad request" response from sales force >>> side. Basically if we try to provision a user with same name as previously >>> provisioned inactive user sales force send "400 Bad request" back to client >>> without activating inactive user or without creating new user. >>> >>> Possible Resolution: >>> >>> 1. Provisioning create user should be modified to check if user >>> previously provisioned do user active operation and if not do a user create >>> operation. There is a negative impact of by doing so because different >>> users may have same username. >>> >>> 2. Restrict adding previously deleted users when Outbound Provisioning >>> is configured. >>> >>> Also do we need to abort user adding process when Outbound Provisioning >>> is failed ? >>> >>> WDYT ? >>> >>> [a] https://wso2.org/jira/browse/IDENTITY-4074 >>> -- >>> Gayan Gunawardana >>> Software Engineer; WSO2 Inc.; http://wso2.com/ >>> Email: [email protected] >>> Mobile: +94 (71) 8020933 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > > -- > Gayan Gunawardana > Software Engineer; WSO2 Inc.; http://wso2.com/ > Email: [email protected] > Mobile: +94 (71) 8020933 > -- Thanks & Regards, *Johann Dilantha Nallathamby* Technical Lead & Product Lead of WSO2 Identity Server Governance Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+94777776950* Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
