Examples of lookupFilter()


Examples of org.geoserver.security.GeoServerSecurityFilterChainProxy.lookupFilter()

        GeoServerSecurityFilterChainProxy proxy = GeoServerExtensions.bean(GeoServerSecurityFilterChainProxy.class);
       
        String roleFilterName =  requestChain.getRoleFilterName();
        if (StringUtils.hasLength(roleFilterName)) {
            try {
                if (proxy.lookupFilter(roleFilterName)==null) {               
                    throw createSecurityException(SecurityConfigException.UNKNOWN_ROLE_FILTER_$2,requestChain.getName(),roleFilterName);
                }               
            } catch (IOException ex) {
                throw new RuntimeException(ex);
            }
View Full Code Here

Examples of org.geoserver.security.GeoServerSecurityFilterChainProxy.lookupFilter()

                throw createSecurityException(SecurityConfigException.FILTER_CHAIN_EMPTY_$1,requestChain.getName());
           
            String interceptorFilterName =  ((VariableFilterChain) requestChain).getInterceptorName();
            if (StringUtils.hasLength(interceptorFilterName)) {
                try {
                    if (proxy.lookupFilter(interceptorFilterName)==null) {               
                        throw createSecurityException(SecurityConfigException.UNKNOWN_INTERCEPTOR_FILTER_$2,requestChain.getName(),interceptorFilterName);
                    }
                } catch (IOException ex) {
                    throw new RuntimeException(ex);
                }
View Full Code Here

Examples of org.geoserver.security.GeoServerSecurityFilterChainProxy.lookupFilter()

            }
           
            String exceptionTranslationName =  ((VariableFilterChain) requestChain).getExceptionTranslationName();
            if (StringUtils.hasLength(exceptionTranslationName)) {
                try {
                    if (proxy.lookupFilter(exceptionTranslationName)==null) {               
                        throw createSecurityException(SecurityConfigException.UNKNOWN_EXCEPTION_FILTER_$2,requestChain.getName(),exceptionTranslationName);
                    }
                } catch (IOException ex) {
                    throw new RuntimeException(ex);
                }
View Full Code Here

Examples of org.geoserver.security.GeoServerSecurityFilterChainProxy.lookupFilter()

           
           
            for (String filterName : requestChain.getFilterNames()) {
                    GeoServerSecurityFilter filter=null;
                    try {
                        filter = (GeoServerSecurityFilter)proxy.lookupFilter(filterName);
                    } catch (IOException ex) {
                        throw new RuntimeException(ex);
                    }
                    if (filter==null)
                        throw createSecurityException(SecurityConfigException.UNKNOWN_FILTER_$2,requestChain.getName(),filterName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.