[Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Prabath Siriwardana
I have a client out side the Carbon - which uses following API UserRealm realm = WSRealmBuilder.createWSRealm(serverUrl, cookie, configContext); But this code doesn't work with the current trunk - and the API been changed.. Can you please suggest how should I replace the above..? -- Thanks

Re: [Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Dimuthu Leelarathne
Hi, Yes. You have a point. +1 for fixing it to get the configuration context. tx, dimuthu On Fri, Mar 4, 2011 at 8:50 AM, Prabath Siriwardana prab...@wso2.comwrote: I have a client out side the Carbon - which uses following API UserRealm realm = WSRealmBuilder.createWSRealm(serverUrl,

Re: [Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Prabath Siriwardana
Can we get the same old API back.. if it doesn't violate the reason it's been removed previously..? Thanks regards, -Prabath On Fri, Mar 4, 2011 at 8:54 AM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, Yes. You have a point. +1 for fixing it to get the configuration context. tx,

Re: [Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Dimuthu Leelarathne
Hi, The old method available was, WSRealmBuilder.createWSRealm(realmProperties, configurationContext, tenantID) TenantId is meaningless here. Why? Because shouldn't expose an API where IHC tenant can see some other tenant's data. So we cannot go back to old API. We should have two methods as

Re: [Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Dimuthu Leelarathne
Hi, On Fri, Mar 4, 2011 at 9:32 AM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, The old method available was, WSRealmBuilder.createWSRealm(realmProperties, configurationContext, tenantID) TenantId is meaningless here. Why? Because shouldn't expose an API where IHC tenant can see some

Re: [Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Prabath Siriwardana
Hi Dimuthu, Thanks for getting more deep in to this.. Actually this methods was in 3.0.1 WSRealmBuilder.createWSRealm(serverUrl, cookie, configContext); Thanks regards, -Prabath On Fri, Mar 4, 2011 at 9:32 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, The old method available

Re: [Carbon-dev] WSRealmBuilder API changes..

2011-03-03 Thread Dimuthu Leelarathne
Hi, Fixed the realm properly. Now this is usable in non-carbon environment. tx, dimuthul On Fri, Mar 4, 2011 at 9:39 AM, Prabath Siriwardana prab...@wso2.comwrote: Hi Dimuthu, Thanks for getting more deep in to this.. Actually this methods was in 3.0.1

[Carbon-dev] WSRealmBuilder

2011-01-21 Thread Indika Kumara
Hi all, As per [1] , there was the 'WSRealmBuilder' to obtain a UserRealm in a client program. It seems that it is not in the 3.1.0. Could some please tell me the new API to be used for the same purpose. I tried to find it from the carbon core codebase but was unsuccessful. Thanks, Indika

Re: [Carbon-dev] WSRealmBuilder

2011-01-21 Thread Asela Pathberiya
On Fri, Jan 21, 2011 at 8:12 PM, Indika Kumara ind...@wso2.com wrote: Hi all, As per [1] , there was the 'WSRealmBuilder' to obtain a UserRealm in a client program. It seems that it is not in the 3.1.0. It must be in org.wso2.carbon.um.ws.api which can be found under

Re: [Carbon-dev] WSRealmBuilder

2011-01-21 Thread Indika Kumara
Found at components/remote-usermgt/ On Fri, Jan 21, 2011 at 8:42 PM, Indika Kumara ind...@wso2.com wrote: Hi all, As per [1] , there was the 'WSRealmBuilder' to obtain a UserRealm in a client program. It seems that it is not in the 3.1.0. Could some please tell me the new API to be used