Package org.geoserver.security

Examples of org.geoserver.security.CatalogMode


            }

            private void onFormSubmit() {
                try {
                    DataAccessRuleDAO dao = DataAccessRuleDAO.get();
                    CatalogMode newMode = dao.getByAlias(catalogMode.getValue());
                    dao.setCatalogMode(newMode);
                    dao.storeRules();
                    setResponsePage(CatalogModePage.class);
                } catch (Exception e) {
                    LOGGER.log(Level.SEVERE, "Error occurred while saving user", e);
View Full Code Here


        form.add(new SubmitLink("save") {
            @Override
            public void onSubmit() {
                try {
                    DataAccessRuleDAO dao = DataAccessRuleDAO.get();
                    CatalogMode newMode = dao.getByAlias(catalogModeChoice.getValue());
                    dao.setCatalogMode(newMode);
                    dao.storeRules();
                    doReturn();
                } catch (Exception e) {
                    LOGGER.log(Level.SEVERE, "Error occurred while saving user", e);
View Full Code Here

        form.add(new SubmitLink("save") {
            @Override
            public void onSubmit() {
                try {
                    DataAccessRuleDAO dao = DataAccessRuleDAO.get();
                    CatalogMode newMode = dao.getByAlias(catalogModeChoice.getValue());
                    dao.setCatalogMode(newMode);
                    dao.storeRules();
                    doReturn();
                } catch (Exception e) {
                    LOGGER.log(Level.SEVERE, "Error occurred while saving user", e);
View Full Code Here

            } catch (Exception e) {
                throw new RuntimeException("Failed to reproject the restricted area to the layer's native SRS", e);
            }
        }

        CatalogMode catalogMode = DEFAULT_CATALOG_MODE;
       
        if(rule.getCatalogMode() != null) {
            switch(rule.getCatalogMode()) {
                case CHALLENGE:
                    catalogMode = CatalogMode.CHALLENGE;
View Full Code Here

TOP

Related Classes of org.geoserver.security.CatalogMode

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.