Package org.geoserver.security.validation

Examples of org.geoserver.security.validation.UserGroupServiceException


     * @param errorid
     * @param args
     * @return
     */
    protected IOException createSecurityException (String errorid, Object ...args) {
        UserGroupServiceException ex =  new UserGroupServiceException(errorid,args);
        return new IOException("Details are in the nested excetpion",ex);
    }
View Full Code Here


            return;
        }

        for (GeoServerUserGroup userGroup : userGroups) {
            if (!groups.contains(userGroup.getGroupname())) {
                String msg = new UserGroupServiceException(USER_IN_OTHER_GROUP_NOT_MODIFIABLE_$1,
                    new Object[]{user}).getMessage();
                throw new IOException(msg);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.geoserver.security.validation.UserGroupServiceException

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.