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