Package org.metagrid.gatekeeper.access

Examples of org.metagrid.gatekeeper.access.Protector


            // SELECT THE PROPERTY

            // This results in two permission checks.
            // One to wrap the property, then another to get the value.
//ZRQ .....
            final Protector protector = parent.protector().protect(type);
            if (protector.allowed(SELECT_PROPERTY_ACTION))
                {
                final Property property = inner.get(type);
                if (null != property)
                    {
                    return wrap(
View Full Code Here


            // MODIFY THE PROPERTY

            // Potentially two checks.
            // One to set the property, then another to get the value.

            final Protector protector = parent.protector().protect(type);
            if (protector.allowed(MODIFY_PROPERTY_ACTION))
                {
                return wrap(
                    parent,
                    inner.set(
                        type,
View Full Code Here

TOP

Related Classes of org.metagrid.gatekeeper.access.Protector

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.