Cool, thx.  Yeah, after I thought about it a little more, I figured it
probably wouldn't matter as the stuff for john.smith would still be kept
separate from john.doe.  They would just happen to have a common parent
node...



On 3/9/06, Randy Watler <[EMAIL PROTECTED]> wrote:
>
> Aaron,
>
> We had the same issue... and no you dont have to worry about it unless
> you inspect or load the security DB manually. There, just convert the
> '.' to '/' and it should be fine.
>
> Randy
>
> Aaron Evans wrote:
> > While I was looking into my portlet preference problems, I discovered
> > something else that is problematic for me.
> >
> > All our user names are people's email addresses.
> >
> > The dot in the email addresses seem to cause the user name to be split
> into
> > multiple nodes in the preference node tree.  For example,
> > [EMAIL PROTECTED] represented as
> > [EMAIL PROTECTED]/com.
> >
> > This is the first time I have noticed this since i haven't looked in the
> DB
> > before and hasn't seemed to cause any problems yet, but I could see this
> > potentially being a big problem if I had two users:
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > I can see in org.apache.jetspeed.security.BasePrincipal that this is
> done on
> > purpose:
> > "Hierarchical principal names should follow: {principal}.{subprincipal}.
> "."
> > is used as the separator for hierarchical elements."
> >
> > The dots are explicitly replaced with slashes causing the node split.
> >
> > So firstly, I would like to point out that it is relatively common for
> > people to use email addresses for user names for portals.
> >
> > Secondly, do I need to do something about this?  Is this going to cause
> me
> > any problems?
> >
> > thx,
> > aaron
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to