Class SCIMServiceImpl
java.lang.Object
org.apache.syncope.ext.scimv2.cxf.service.SCIMServiceImpl
- All Implemented Interfaces:
SCIMService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SCIMDataBinder
protected final SCIMConfManager
protected final GroupDAO
protected final GroupLogic
protected static final Logger
protected org.apache.cxf.jaxrs.ext.MessageContext
protected final SCIMLogic
protected UriInfo
protected final UserDAO
protected final UserLogic
-
Constructor Summary
ConstructorsConstructorDescriptionSCIMServiceImpl
(UserDAO userDAO, GroupDAO groupDAO, UserLogic userLogic, GroupLogic groupLogic, SCIMDataBinder binder, SCIMConfManager confManager, SCIMLogic scimLogic) -
Method Summary
Modifier and TypeMethodDescriptionprotected AnyDAO
<?> protected AbstractAnyLogic
<?, ?, ?> protected Response.ResponseBuilder
protected Response
createResponse
(String key, SCIMResource resource) protected ListResponse
<SCIMResource> doSearch
(Resource type, SCIMSearchRequest request) protected Preference
ReadsPrefer
header from request and parses into aPreference
instance.protected SCIMResource
getResource
(String key) resourceType
(String type) schemas()
protected Response
updateResponse
(String key, SCIMResource resource, boolean patch)
-
Field Details
-
scimLogic
-
LOG
-
uriInfo
-
messageContext
-
userDAO
-
groupDAO
-
userLogic
-
groupLogic
-
binder
-
confManager
-
-
Constructor Details
-
SCIMServiceImpl
public SCIMServiceImpl(UserDAO userDAO, GroupDAO groupDAO, UserLogic userLogic, GroupLogic groupLogic, SCIMDataBinder binder, SCIMConfManager confManager, SCIMLogic scimLogic)
-
-
Method Details
-
serviceProviderConfig
- Specified by:
serviceProviderConfig
in interfaceSCIMService
-
resourceTypes
- Specified by:
resourceTypes
in interfaceSCIMService
-
resourceType
- Specified by:
resourceType
in interfaceSCIMService
-
schemas
- Specified by:
schemas
in interfaceSCIMService
-
schema
- Specified by:
schema
in interfaceSCIMService
-
getResource
-
anyDAO
-
anyLogic
-
createResponse
-
updateResponse
-
checkETag
-
doSearch
-
getPreference
ReadsPrefer
header from request and parses into aPreference
instance.- Returns:
- a
Preference
instance matching the passedPrefer
header, orPreference.NONE
if missing.
-