On Fri, Mar 23, 2012 at 10:59 AM, Afkham Azeez <[email protected]> wrote: > So, you mean we no longer need to deploy admin services in transport session > scope, but can directly call the admin services by passing in the basic auth > credentials with the request itself?
Hi Azeez, Yes that is true. But I didnt get rid of session code as it involves lot of code changes. Also it has some issues as we discussed online. (like remembering passwords in FE etc ...). We need to further investigate on this. Thanks AmilaJ > > > On Fri, Mar 23, 2012 at 10:53 AM, Amila Jayasekara <[email protected]> wrote: >> >> 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 > > > > > -- > 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
