On Fri, Mar 23, 2012 at 10:44 AM, Afkham Azeez <[email protected]> wrote: > Why was this done?
Hi Azeez, LoginLogoutUtil.login() talks to AuthenticationAdmin and call login method. But after implementing "Basic Access Authenticator" in core we do not need to call AuthenticationAdmin.login method to call a service. But AuthenticationAdmin is kept as it is to make code backward compatible. Now, if we want to call an another admin service we do not need to call AuthenticationAdmin.login and get a token. We can directly call admin service with basic access" headers. Please see "Cleaning up Carbon Authenticator Framework" mail thread in carbon-dev for more information. Thanks AmilaJ > > -- > Afkham Azeez > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > > email: [email protected] cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > Lean . Enterprise . Middleware > -- Mobile : +94773330538 _______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
