Package org.geoserver.security.decorators

Examples of org.geoserver.security.decorators.SecuredLayerInfo


        else if(policy.level == AccessLevel.READ_WRITE)
            return layer;

        // otherwise we are in a mixed case where the user can read but not write, or
        // cannot read but is allowed by the operation mode to access the metadata
        return new SecuredLayerInfo(layer, policy);
    }
View Full Code Here


        else if(policy.level == AccessLevel.READ_WRITE && policy.getLimits() == null)
            return layer;

        // otherwise we are in a mixed case where the user can read but not write, or
        // cannot read but is allowed by the operation mode to access the metadata
        return new SecuredLayerInfo(layer, policy);
    }
View Full Code Here

        else if(policy.level == AccessLevel.READ_WRITE && policy.getLimits() == null)
            return layer;

        // otherwise we are in a mixed case where the user can read but not write, or
        // cannot read but is allowed by the operation mode to access the metadata
        return new SecuredLayerInfo(layer, policy);
    }
View Full Code Here

        if (layerInfo == null) {
            throw new ServiceException("Could not find layer " + layerName, "LayerNotDefined");
        }
        if (layerInfo instanceof SecuredLayerInfo && boundingBox != null) {
            //test layer bbox limits
            SecuredLayerInfo securedLayerInfo = (SecuredLayerInfo) layerInfo;
            WrapperPolicy policy = securedLayerInfo.getWrapperPolicy();
            AccessLimits limits = policy.getLimits();
                       
            if (limits instanceof DataAccessLimits) {
                //ensure we are all using the same CRS
                CoordinateReferenceSystem dataCrs = layerInfo.getResource().getCRS()
View Full Code Here

TOP

Related Classes of org.geoserver.security.decorators.SecuredLayerInfo

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.