Package io.jans.scim.ws.rs.scim2
Class BaseScimWebService
java.lang.Object
io.jans.scim.ws.rs.scim2.BaseScimWebService
- Direct Known Subclasses:
BulkWebService,Fido2DeviceWebService,GroupWebService,ResourceTypeWS,SchemaWebService,ScimResourcesUpdatedWebService,SearchResourcesWebService,ServiceProviderConfigWS,TokenManagementWebService,UserWebService
Base methods for SCIM web services
- Author:
- Yuriy Movchan Date: 08/23/2013 Re-engineered by jgomer on 2017-09-14.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassignMetaInformation(BaseScimResource resource) protected voidexecuteValidation(BaseScimResource resource) protected voidexecuteValidation(BaseScimResource resource, boolean laxRequiredness) static jakarta.ws.rs.core.ResponsegetErrorResponse(int statusCode, ErrorScimType scimType, String detail) static jakarta.ws.rs.core.ResponsegetErrorResponse(jakarta.ws.rs.core.Response.Status status, ErrorScimType scimType, String detail) static jakarta.ws.rs.core.ResponsegetErrorResponse(jakarta.ws.rs.core.Response.Status status, String detail) protected voidinit(Class<? extends BaseScimWebService> cls) protected jakarta.ws.rs.core.ResponseinspectPatchRequest(PatchRequest patch, Class<? extends BaseScimResource> cls) jakarta.ws.rs.core.ResponsenotFoundResponse(String id, String resourceType) protected jakarta.ws.rs.core.ResponseprepareSearchRequest(List<String> schemas, String filter, String sortBy, String sortOrder, Integer startIndex, Integer count, String attrsList, String excludedAttrsList, SearchRequest request) jakarta.ws.rs.core.Response
-
Field Details
-
SEARCH_SUFFIX
- See Also:
-
-
Constructor Details
-
BaseScimWebService
public BaseScimWebService()
-
-
Method Details
-
getEndpointUrl
-
notFoundResponse
-
getErrorResponse
public static jakarta.ws.rs.core.Response getErrorResponse(jakarta.ws.rs.core.Response.Status status, String detail) -
getErrorResponse
public static jakarta.ws.rs.core.Response getErrorResponse(jakarta.ws.rs.core.Response.Status status, ErrorScimType scimType, String detail) -
getErrorResponse
public static jakarta.ws.rs.core.Response getErrorResponse(int statusCode, ErrorScimType scimType, String detail) -
validateExistenceOfUser
- Throws:
Exception
-
init
-
assignMetaInformation
-
executeValidation
- Throws:
SCIMException
-
executeValidation
protected void executeValidation(BaseScimResource resource, boolean laxRequiredness) throws SCIMException - Throws:
SCIMException
-
prepareSearchRequest
-
inspectPatchRequest
protected jakarta.ws.rs.core.Response inspectPatchRequest(PatchRequest patch, Class<? extends BaseScimResource> cls)
-