Hi, Santiago Gala Thanks a lot for your help!
Actually I am trying to change the registration form of jetspeed. I need to remove some items such as Birthday, Profession and add some item such as company, department. But in User class, we only have getBirthday, setBirthday such methods. What I want is the methods according to my register items such as setCompany, getCompany. But I don't know how to add my methods and remove the useless methods. Do you know anyway to implement it? Regards Yuxiong >From: Santiago Gala <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: User.class is an interface, which class implements it??? >Date: Mon, 08 Oct 2001 19:49:36 +0200 >MIME-Version: 1.0 >Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id >MHotMailBD8B3245009F40043119407D85140EB70; Mon, 08 Oct 2001 10:49:57 -0700 >Received: (qmail 29730 invoked by uid 500); 8 Oct 2001 17:49:49 -0000 >Received: (qmail 29615 invoked from network); 8 Oct 2001 17:49:48 -0000 >From jetspeed-user-return-2424-he_yi Mon, 08 Oct 2001 10:51:40 -0700 >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >Precedence: bulk >List-Post: <mailto:[EMAIL PROTECTED]> >List-Help: <mailto:[EMAIL PROTECTED]> >List-Unsubscribe: <mailto:[EMAIL PROTECTED]> >List-Subscribe: <mailto:[EMAIL PROTECTED]> >Delivered-To: mailing list [EMAIL PROTECTED] >Message-ID: <[EMAIL PROTECTED]> >User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) >Gecko/20010913 >X-Accept-Language: es-es, en-us >References: <[EMAIL PROTECTED]> >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >yi he wrote: > >>Hi, dear friends >> >>I am trying to change the registration form of jetspeed. After >>changing template NewAccount.jsp, I need to change >>UpdateAccount.java. I found there is data.getUser().setBirthDate( >>birthdate ); >> data.getUser().setMaritalStatus( marital_status ); >> data.getUser().setHomeAdd( home_add ); >> data.getUser().setHomeTel( home_tel );.... sentences inside. >>But when I check User class, I found it is an interface. All methods >>like setHomeAdd are abstract methods. But I need to find the place >>that those methods are implemented. Do you have any idea about it? > >The User interface is populated with a concrete instance by turbine >security service. If you want to change the User implementation, you >will have to develop a new security service. Look at the turbine >security service as an example. > >Can you explain what are you trying to do? there are alternate turbine >security services (for LDAP, etc.). > >> >>Thank you very much for your kindly help!!!!! >> >>Regards >>Yuxiong >> >>_________________________________________________________________ >>Get your FREE download of MSN Explorer at >>http://explorer.msn.com/intl.asp >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
