Are we going to release a new major version of carbon-identity-framework
along with this change? If not we will have to keep those and deprecate
them until next major version.

On Tue, Jun 21, 2016 at 11:51 AM, Farasath Ahamed <farasa...@wso2.com>
wrote:

> Hi Harsha,
>
> Yes, we will be removing the below methods as well since we can achieve
> the same functionality using the RemoteUserStoreManager and the new account
> lock/disable handlers as you mentioned.
>
> public void lockUserAccount(String userName)
>
> public void unlockUserAccount(String userName, String notificationType)
>
> public void disableUserAccount(String userName, String notificationType)
>
> public void enableUserAccount(String userName, String notificationType)
>
>
> So basically locking or disabling an account is essentially setting a user
> claim which can be done using the RemoteUserStoreManager service. Events
> will be created by listeners who act on the change in claim value. The
> handlers registered for the particular event triggered when the claim is
> changed handles sending notifications.
>
>
> Thanks,
>
> Farasath Ahamed
> Software Engineer,
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>
> Email: farasa...@wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 <https://twitter.com/farazath619>
>
> On Tue, Jun 21, 2016 at 9:16 AM, Harsha Thirimanna <hars...@wso2.com>
> wrote:
>
>> Since we are going to achieve account lock , disable features as handlers
>> and triggered through the user store operation, do we need to have those
>> methods also ?
>>
>>
>> *Harsha Thirimanna*
>> Associate Tech Lead; 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 Mon, Jun 20, 2016 at 1:27 PM, Isura Karunaratne <is...@wso2.com>
>> wrote:
>>
>>> +1
>>>
>>> You can also remove getAllPromotedUserChallenge method too.
>>>
>>> Thanks
>>> Isura
>>>
>>> On Mon, Jun 20, 2016 at 1:07 PM, Farasath Ahamed <farasa...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> We will be removing the following methods from
>>>> the UserIdentityManagementAdminService[1] since the same functionality
>>>> could be achieved using the RemoteUserStoreManager[2] service. Therefore,
>>>> we are planning to remove the below methods since the functionality is
>>>> duplicated.
>>>>
>>>>
>>>> // Admin deletes a user from the system. This is an irreversible
>>>> operation.
>>>> *public void deleteUser(String userName) *
>>>>
>>>> // Admin resets the password of the user
>>>> *public void resetUserPassword(String userName, String newPassword)*
>>>>
>>>> //User updates/add account recovery data such as the email address or
>>>> the phone number etc.
>>>> *public void updateUserIdentityClaims(UserIdentityClaimDTO[]
>>>> userIdentityClaims)*
>>>>
>>>> // Returns all user claims which can be used in the identity recovery
>>>> *public UserIdentityClaimDTO[] getAllUserIdentityClaims() *
>>>>
>>>> // User changes the password of the user.
>>>> *public void changeUserPassword(String newPassword, String oldPassword)*
>>>>
>>>>
>>>> [1]
>>>> https://github.com/wso2/carbon-identity-framework/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/services/UserIdentityManagementAdminService.java
>>>>
>>>> [2]
>>>> https://github.com/wso2-extensions/identity-userstore-remote/blob/master/components/org.wso2.carbon.identity.user.store.remote/src/main/java/org/wso2/carbon/identity/user/store/remote/CarbonRemoteUserStoreManger.java
>>>>
>>>>
>>>> Please raise if there are any concerns.
>>>>
>>>> Thanks,
>>>> Farasath Ahamed
>>>> Software Engineer,
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>>
>>>> Email: farasa...@wso2.com
>>>> Mobile: +94777603866
>>>> Blog: blog.farazath.com
>>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>>>
>>>
>>>
>>>
>>> --
>>> Isura Dilhara Karunaratne
>>> Senior Software Engineer
>>>
>>> Mob +94 772 254 810
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pulasthi Mahawithana*
Software Engineer
WSO2 Inc., http://wso2.com/
Mobile: +94-71-5179022
Blog: http://blog.pulasthi.org
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to