You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by yi he <he...@hotmail.com> on 2001/10/08 09:36:30 UTC

User.class is an interface, which class implements it???

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?

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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: User.class is an interface, which class implements it???

Posted by Santiago Gala <sg...@hisitech.com>.
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: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org