So it is become obvious that the:

<entry name="">

Must be unique within the PortletRegistry (the name attribute that is). 
So the Portlet.getName() method will not be the classname instead will
be this name.

Also, I am going to put in the requirement that any Portlet that someone
tries to instantiate *must* be in the Registry.  This is better for
security reasons (so that the user can't just instantiate any class in
your system) but also helps when browsing because we can just resolve
this name.

I am adding another attribute to <entry>

<attribute name="isAdmin" type="boolean"  minOccurs="0"/>

This will basically be for the Admin console so that it can look up
Portlets but that these aren't allowed to be viewed by ordinary users. 
We can (if people think it is necessary) provide a Portlet.isAdmin() so
that even the Portlet can *require* that other people besides admins
can't view it.  

Thoughts?

-- 
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
The house of the unbelievers shall be razed and they shall be
scorched to the earth. Their code will be open until the end of days.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to