gluu
|
公開メンバ関数 | |
Response | createGroup (GroupResource group, String attrsList, String excludedAttrsList) |
Response | getGroupById (String id, String attrsList, String excludedAttrsList) |
Response | updateGroup (GroupResource group, String id, String attrsList, String excludedAttrsList) |
Response | deleteGroup (String id) |
Response | searchGroups (String filter, Integer startIndex, Integer count, String sortBy, String sortOrder, String attrsList, String excludedAttrsList) |
Response | searchGroupsPost (SearchRequest searchRequest) |
Response | patchGroup (PatchRequest request, String id, String attrsList, String excludedAttrsList) |
String | getEndpointUrl () |
Response | createGroup (GroupResource group, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
Response | getGroupById ( @PathParam("id") String id, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
Response | updateGroup (GroupResource group, @PathParam("id") String id, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
Response | deleteGroup (@PathParam("id") String id) |
Response | searchGroups ( @QueryParam(QUERY_PARAM_FILTER) String filter, @QueryParam(QUERY_PARAM_START_INDEX) Integer startIndex, @QueryParam(QUERY_PARAM_COUNT) Integer count, @QueryParam(QUERY_PARAM_SORT_BY) String sortBy, @QueryParam(QUERY_PARAM_SORT_ORDER) String sortOrder, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
Response | patchGroup (PatchRequest request, @PathParam("id") String id, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
静的公開メンバ関数 | |
static Response | getErrorResponse (Response.Status status, String detail) |
static Response | getErrorResponse (Response.Status status, ErrorScimType scimType, String detail) |
static Response | getErrorResponse (int statusCode, ErrorScimType scimType, String detail) |
静的公開変数類 | |
static final String | SEARCH_SUFFIX = ".search" |
限定公開メンバ関数 | |
void | assignMetaInformation (BaseScimResource resource) |
void | executeDefaultValidation (BaseScimResource resource) throws SCIMException |
void | executeValidation (BaseScimResource resource, boolean skipRequired) throws SCIMException |
Response | prepareSearchRequest (List< String > schemas, String filter, String sortBy, String sortOrder, Integer startIndex, Integer count, String attrsList, String excludedAttrsList, SearchRequest request) |
Response | inspectPatchRequest (PatchRequest patch, Class<? extends BaseScimResource > cls) |
関数 | |
int | getMaxCount () |
String | getValueFromHeaders (HttpHeaders headers, String name) |
String | translateSortByAttribute (Class<? extends BaseScimResource > cls, String sortBy) |
String | getListResponseSerialized (int total, int startIndex, List< BaseScimResource > resources, String attrsList, String excludedAttrsList, boolean ignoreResults) throws IOException |
変数 | |
IGroupWebService | service |
AppConfiguration | appConfiguration |
ScimResourceSerializer | resourceSerializer |
ExtensionService | extService |
String | endpointUrl |
非公開メンバ関数 | |
Response | validateExistenceOfGroup (String id) |
void | checkDisplayNameExistence (String displayName) throws DuplicateEntryException |
void | checkDisplayNameExistence (String displayName, String id) throws DuplicateEntryException |
非公開変数類 | |
Logger | log |
IGroupService | groupService |
Aims at decorating SCIM group service methods. Currently applies validations via ResourceValidator class or other custom validation logic
Created by jgomer on 2017-10-18.
|
inlineprotectedinherited |
|
inlineprivate |
|
inlineprivate |
|
inherited |
Service method that allows creating a Group resource via POST (as per section 3.3 of RFC 7644).
group | An object that represents the Group to create |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
|
inline |
|
inherited |
Removes a Group via DELETE HTTP method (see section 3.6 of RFC 7644).
id | The "id" attribute of the resource to be removed |
|
inline |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inherited |
Service method that retrieves a Group resource using GET (as per section 3.4.1 of RFC 7644).
id | The "id" attribute of the resource to retrieve |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
|
inline |
|
inlinepackageinherited |
|
inlinepackageinherited |
|
inlinepackageinherited |
|
inlineprotectedinherited |
|
inherited |
Service method that allows to modify a Group resource via PATCH (see section 3.5.2 of RFC 7644).
Note that patching offers a fine-grained control over the attributes to modify. While PUT is more intended to replace attribute values, PATCH allows to perform localized updates, removals and additions in certain portions of the target resource.
request | A PatchRequest that contains the operations to apply upon the resource being updated |
id | The id of the resource to update |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
|
inline |
|
inlineprotectedinherited |
|
inherited |
Sends a search query for Group resources using GET (see section 3.4.2 of RFC 7644).
filter | A filter expression so that the search will return only those resources matching the expression. To learn more about SCIM filter expressions and operators, see section 3.4.2.2 of RFC 7644. |
startIndex | The 1-based index of the first query result. If a negative integer or null is provided, the search is performed as if 1 was provided as value. |
count | Specifies the desired maximum number of query results per page the response must include. If null is provided, the maximum supported by the server is used. If count is zero, this is interpreted as no results should be included (only the total amount is). If a negative number is supplied, the search is performed as if zero was provided as value. |
sortBy | Specifies the attribute whose value will be used to order the returned resources. If sortBy is null the results will be sorted by userName attribute. |
sortOrder | The order in which the sortBy parameter is applied. Allowed values are "ascending" or "descending", being "ascending" the default if null or an unknown value is passed. |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
|
inline |
|
inline |
org.gluu.oxtrust.ws.rs.scim2.IGroupWebServiceを実装しています。
|
inlinepackageinherited |
|
inherited |
Service method that allows updating a Group resource via PUT (as per section 3.5.1 of RFC 7644).
This operation is not suitable to delete/remove/nullify attributes. For this purpose you can use the PATCH operation instead. PUT is intended to do replacements using the (not-null) values supplied in fidoDeviceResource
parameter.
To learn more about how the update works, read the replacement rules found at ScimResourceUtil#transferToResourceReplace.
group | An object that contains the data to update on a destination resource. There is no need to supply a full resource, just provide one with the attributes which are intended to be replaced in the destination |
id | The "id" attribute of the resource to update (destination) |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
|
inline |
|
inlineprivate |
|
packageinherited |
|
packageinherited |
|
packageinherited |
|
private |
|
private |
|
packageinherited |
|
staticinherited |
|
package |