Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 42173 invoked from network); 23 Aug 2007 12:06:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 12:06:22 -0000 Received: (qmail 87595 invoked by uid 500); 23 Aug 2007 12:06:18 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 87573 invoked by uid 500); 23 Aug 2007 12:06:18 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 87564 invoked by uid 99); 23 Aug 2007 12:06:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 05:06:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gkatz@allot.com designates 199.203.223.210 as permitted sender) Received: from [199.203.223.210] (HELO mailgw.allot.com) (199.203.223.210) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 12:06:56 +0000 Received: from mail.allot.com (Not Verified[172.20.20.20]) by mailgw.allot.com with MailMarshal (v6,1,6,1172) id ; Thu, 23 Aug 2007 15:05:55 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: integrating roller user management with a portal user management Date: Thu, 23 Aug 2007 15:05:55 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: integrating roller user management with a portal user management Thread-Index: AcfjNYxx94Q9z6HbQm6lAz3RP0ADGgCSBSgQ References: <8fb9ac720708200721q67749726yfcf7d6aaa7c4bc19@mail.gmail.com> From: "Guy Katz" To: X-Virus-Checked: Checked by ClamAV on apache.org Thanks; RAP was exactly what I needed. Took me a while to get the hang of dealing with it but once I got it, it was easy (With the help of the self-marshaling objects in the SDK). The documentation states that it is not to be used in production. Is this only for security reasons? I can add a filter to roller to allow only the local machine to send the XML as my roller and my portal will reside on the same tomcat. Do you think its sufficient? Thanks. -----Original Message----- From: Dave [mailto:snoopdave@gmail.com]=20 Sent: Monday, August 20, 2007 5:22 PM To: user@roller.apache.org Subject: Re: integrating roller user management with a portal user management On 8/20/07, Guy Katz wrote: > I want to integrate roller inside a portal where user management is done > by the portal. > > The user registration code resides in the portal such that when a user > decides to register for the portal, a new user is created for it both in > the user DB in the portal and then in roller as well. > > Is there a nice way to integrate with roller to achieve this? I can > always just do SQL to the DB but I'd rather use some kind of a roller > mechanism or classes. I can probably have access to Roller's servlet > context from my portal application (deployed on the same tomcat) by > configuring roller 'crossContext=3Dtrue' in tomcat. > > Are there any objects (such as user manager) in the roller servlet > context that I can retrieve and use in order to trigger a 'new user' > command? > > What are the integration methods that are available as an option in such > a situation? Let's see. You could: - Use the Roller Admin Protocol (RAP) to provision a new Roller user everytime one is added to the Portal. http://tinyurl.com/3amanz - Write a new JSP page for Roller that will respond to (authenticated) requests to create new users in Roller. The JSP page would call the UserManager.addUser() method. Then call that page from your Portal server. - Wait for Roller 4.1's new extensible user management, then plugin your own user manager. http://tinyurl.com/28br55 Hope that helps. - Dave