Package org.apache.jetspeed.om.page.impl

Examples of org.apache.jetspeed.om.page.impl.SecurityConstraintsImpl


        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here


        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here

        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here

        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here

        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here

        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here

        if (checkNodeOnly)
        {
            // check node constraints if available; otherwise,
            // 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)
                {
                    parentNodeImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, checkNodeOnly, false);
                }
            }
        }
        else
        {
            // check node constraints if available and not
            // to be skipped due to explicity granted access
            if (!checkParentsOnly)
            {
                SecurityConstraintsImpl constraintsImpl = (SecurityConstraintsImpl)getSecurityConstraints();
                if ((constraintsImpl != null) && !constraintsImpl.isEmpty())
                {
                    constraintsImpl.checkConstraints(actions, userPrincipals, rolePrincipals, groupPrincipals, getEffectivePageSecurity());
                }
            }

            // recursively check all parent constraints in hierarchy
            NodeImpl parentNodeImpl = (NodeImpl)ProxyHelper.getRealObject(parent);
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.om.page.impl.SecurityConstraintsImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.