[Geoserver-devel] [jira] (GEOS-5557) Enhance API for GeoserverUserGroupService

Christian Mueller created ImprovementGEOS-5557
Enhance API for GeoserverUserGroupService

Issue Type:

ImprovementImprovement

Affects Versions:

2.3-beta1

Assignee:

Christian Mueller

Components:

Security

Created:

12/Jan/13 9:17 AM

Description:

Since GeoServerUser objects may have additional properties (e. g. employee number) it should be possible to query for users based on properties.

SortedSet<GeoServerUser> getUsersHavingProperty(String propname) throws IOException;

SortedSet<GeoServerUser> getUsersNotHavingProperty(String propname) throws IOException;

SortedSet<GeoServerUser> getUsersHavingPropertyValue(String propname,String propvalue) throws IOException;

Implementations of the GeoServerUserGroupService should have to chance to implement this calls efficiently. At the moment, it is necessary to iterate over all users and check each user object…

An actual example is the auth-key module. It would be nice to have the option to store the unique auth-key (global identifier) as a user property (auth-key=f9ew09sls).

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Christian Mueller

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)