Package org.geoserver.security.impl

Examples of org.geoserver.security.impl.GeoserverUserDao.removeUser()


            protected boolean onSubmit(AjaxRequestTarget target, Component contents) {
                // cascade delete the whole selection
                GeoserverUserDao dao = GeoserverUserDao.get();
                for (User user : selection) {
                    if(!user.getUsername().equals("admin"))
                        dao.removeUser(user.getUsername());
                }
                try {
                    dao.storeUsers();
                } catch (IOException e) {
                    e.printStackTrace();
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.