Package org.geoserver.security

Examples of org.geoserver.security.AccessLimits


        }
        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()
                if (boundingBox.getCoordinateReferenceSystem()!=null && !CRS.equalsIgnoreMetadata(dataCrs, boundingBox.getCoordinateReferenceSystem())) {
View Full Code Here

TOP

Related Classes of org.geoserver.security.AccessLimits

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.