// recursively check parent constraints until
// default constraints for node are checked
SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
{
constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
}
else
{
NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
if (parentNodeImpl != null)