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 "hars...@wso2.com" when deleting user it will
be renamed to  "oldhars...@wso2.com" 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 <hars...@wso2.com> 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: **hars...@wso2.com* <az...@wso2.com>* 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 <ga...@wso2.com>
> 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: ga...@wso2.com
>> Mobile: +94 (71) 8020933
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to