On Thu, Feb 7, 2013 at 12:27 PM, Manikanta Kattamuri
<manikanta.kattam...@sungard.com> wrote:
> Hi All,
>
> Presently Account Services and Account Manager classes are responsible for
> all the user operations like create, login, edit/update, change password,
> lock user etc..
>
> What i am thinking of is to create a new UserService in Utils and move the
> user methods in AccountServices to it and follow the same with
> AccountManager and its implementation.

utils should only have reusable utilities, interfaces which are
contracts to be used among components should be in api if we want them
to be generally available for all components including plugins.

>
> So all the call for the user objects will be done through either
> UserServices or UserManager classes.
>
> Advantages of it would be that we can create plugins just to integrate ACS
> with third party AD services for user mgmt.

To solve this problem, one way would be to define the UserServices
interface (or whatever you want to introduce, I would still want the
existing interface to be fixed and reused) and in your plugin make it
depend on cloud-api, and your plugin's managerimpls can make use of
this interface to do work.

Regards.

>
> Any thoughts on this.
>
> --Mani

Reply via email to