You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Oliver Zeigermann <oz...@c1-fse.de> on 2003/11/14 14:15:18 UTC

Bug in ACLSecurityImpl?

Hi Peter, hi all,

In method getActionMembers aNrd.getProperty("privilege-member-set") 
might return null if it is configured as empty in Domain.xml. This 
causes a NPE when you try to access it. I am not sure, but this might be 
caused by the JDOM implmentation I use, even though it is the one from 
the CVS.

If this is a real bug the obvious fix would be to have it like this:

NodeProperty membersProp = aNrd.getProperty("privilege-member-set");
if (membersProp != null) {
...
}
return result;



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