/** * Creates a new Instance * * @param service * @throws IOException */ public static DecodingUserDetailsService newInstance(GeoServerUserGroupService service) throws IOException { DecodingUserDetailsService decodingService = new DecodingUserDetailsService(); decodingService.setGeoserverUserGroupService(service); return decodingService; }