Cassandra must be a bundle of course. Whether its run in the same Carbon instance or running in another is a usual Carbon decision.
Sanjiva. On Tue, Feb 22, 2011 at 3:41 PM, Amila Suriarachchi <[email protected]> wrote: > Have you deployed the Cassandra as an OSGI bundle or is it running in > standalone server? > > The idea here is that both the carbon component who want to talk to the > Cassandra and the Cassandra server should share > a secret key. If both components are in the same jvm one component can > publish it as an OSGI service and others can get the secret from there. > > The carbon component sends this secret key as the pass word. So at the > authentication handler first it check whether the user has given the correct > password. or not check for this secret key. > > thanks, > Amila. > > > > > On Tue, Feb 22, 2011 at 2:04 PM, Indika Kumara <[email protected]> wrote: > >> Hi Srinath, >> >> I have to figure out how it works. I will ask it from Danushka. >> >> Thanks, >> >> Indika >> >> >> On Tue, Feb 22, 2011 at 2:31 PM, Srinath Perera <[email protected]> wrote: >> >>> Hi Danushka, >>> >>> Can you point Indika to the code? >>> Indika, can we solve the problem in the same manner? >>> >>> --Srinath >>> >>> On Tue, Feb 22, 2011 at 1:56 PM, Danushka Menikkumbura >>> <[email protected]> wrote: >>> > In the case of Qpid its between back-end components. Qpid publishes a >>> shared >>> > secret that internal components can produce while authenticating. >>> > >>> > Danushka >>> > >>> > On Tue, Feb 22, 2011 at 1:49 PM, Srinath Perera <[email protected]> >>> wrote: >>> >> >>> >> Basically, we need a way for the fornt end to tell the backend >>> >> Cassandra that user is already logged in. >>> >> >>> >> AFAIK, we are doing something similar to connect from message broker >>> >> to backend Qpid. Danushka do we have that code done? We should be >>> >> able to use the same logic here as well. >>> >> >>> >> Thanks >>> >> Srinath >>> >> >>> >> On Tue, Feb 22, 2011 at 10:40 AM, Indika Kumara <[email protected]> >>> wrote: >>> >> > Hi All, >>> >> > >>> >> > I have the following scenario where it is required SSO >>> >> > >>> >> > Connecting to the Cassandra from Carbon (e.g carbon component) as an >>> >> > already >>> >> > authenticated user. >>> >> > >>> >> > Here, a user has already sign-in to the Carbon, and need to connect >>> to >>> >> > the >>> >> > Cassandra as an authenticated user. >>> >> > >>> >> > Is this possible currently? Highly appreciate any help. >>> >> > >>> >> > Thanks, >>> >> > >>> >> > Indika >>> >> > >>> >> > _______________________________________________ >>> >> > Carbon-dev mailing list >>> >> > [email protected] >>> >> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> > >>> >> > >>> >> >>> >> >>> >> >>> >> -- >>> >> ============================ >>> >> Srinath Perera, Ph.D. >>> >> Senior Software Architect, WSO2 Inc. >>> >> Visiting Lecturer, University of Moratuwa >>> >> Member, Apache Software Foundation >>> >> Research Scientist, Lanka Software Foundation >>> >> Blog: http://srinathsview.blogspot.com/ >>> >> _______________________________________________ >>> >> Carbon-dev mailing list >>> >> [email protected] >>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> > >>> > >>> >>> >>> >>> -- >>> ============================ >>> Srinath Perera, Ph.D. >>> Senior Software Architect, WSO2 Inc. >>> Visiting Lecturer, University of Moratuwa >>> Member, Apache Software Foundation >>> Research Scientist, Lanka Software Foundation >>> Blog: http://srinathsview.blogspot.com/ >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
