User (and hence BasicSecurityUser) extends ParameterHolder simply
because you can specify parameters in the contexts.ini file for the
User object that will get passed into its initialize() method.

For information like you're talking about, definitely use
attributes... parameters are more for information needed by your User
object upon instantiation, not information about the specific user
that the object represents.
--Bob

On 11/18/05, J. Erik Heinz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just wonder.. if i want to store userspecific information in the
> BasicSecurityUser Object, do I use setAttributes() or setParameters().
> For example the UserId. If I think about it, I would say
> setAttributes() cause the UserId is an attribute and not an parameter
> of the user. Parameters belong to the request - but then I am not
> sure, for what I should use setParameters() in the BasicSecurityUser?
>
> any ideas or suggestion
>
> Regards Erik
> --
> J. Erik Heinz
> Keyboard-samuraing in process
> _______________________________________________
> agavi-dev mailing list
> [email protected]
> http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
>
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to