Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 36487 invoked from network); 2 Feb 2010 23:54:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 23:54:31 -0000 Received: (qmail 47468 invoked by uid 500); 2 Feb 2010 23:54:31 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 47422 invoked by uid 500); 2 Feb 2010 23:54:31 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 47408 invoked by uid 99); 2 Feb 2010 23:54:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 23:54:31 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.18.2.219] (HELO exprod7og116.obsmtp.com) (64.18.2.219) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 02 Feb 2010 23:54:21 +0000 Received: from source ([209.85.222.191]) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKS2i7F7tshmYXuWF4EioOuYRDGhv9I6lv@postini.com; Tue, 02 Feb 2010 15:54:00 PST Received: by pzk29 with SMTP id 29so711669pzk.17 for ; Tue, 02 Feb 2010 15:53:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.4.11 with SMTP id 11mr4430252wfd.128.1265154839010; Tue, 02 Feb 2010 15:53:59 -0800 (PST) In-Reply-To: <85471C1B26954D4D9622A450644A969001825814BAFE@m2.TDILAN.com> References: <85471C1B26954D4D9622A450644A969001825814BAFE@m2.TDILAN.com> Date: Tue, 2 Feb 2010 15:53:58 -0800 Message-ID: <4a35d831002021553r50a2b4e9n416e259edc3a9eea@mail.gmail.com> Subject: Re: login portlet extension From: David Sean Taylor To: Jetspeed Developers List Content-Type: multipart/alternative; boundary=00504502b869c3de24047ea6d09c X-Virus-Checked: Checked by ClamAV on apache.org --00504502b869c3de24047ea6d09c Content-Type: text/plain; charset=ISO-8859-1 On Tue, Feb 2, 2010 at 2:23 PM, Dahl, Sandra wrote: > Our application requires a login portlet that is like the login portlet > that ships that Jetpseed 2. However, our application requires some changes > to the portlet. Examples of changes include changing the messages the > portlet displays and tracking the number of unsuccessful log in attempts. > The login messages are stored in a resource file found in the j2-admin application under org.apache.jetspeed.portlets.security.resources.LoginResources_(language).properties There already is a feature for configuring limits on unsuccessful logins. See the online documentation here: http://portals.apache.org/jetspeed-2/deployguide/credentials.html http://portals.apache.org/jetspeed-2/deployguide/security-config.html > > What is the best way to take the standard login portlet and extend it so > our changes do not interfere with future Jetspeed releases? Is the login > portlet included with j2-admin? > > Yes, its a part of j2-admin application. If you want to extend say the resource messages, you can repackage the j2-admin war, and override the resource files by placing yours in the WEB-INF/classes directory under the same package as the replaced Jetspeed resources > Thanks! > Sandi > > > ________________________________ > Confidentiality Notice: > The information contained in this communication, including attachments, is > privileged and confidential. It is intended only for the exclusive use of > the addressee. If the reader is not the intended recipient, or the employee, > or the agent responsible for delivering it to the intended recipient, you > are hereby notified that any dissemination, distribution or copying of this > communication is strictly prohibited. If you have received this > communication in error, please notify us by return email or telephone > immediately. Thank you. > --00504502b869c3de24047ea6d09c--