I am trying to implement SCIM auto-provisioning.
I have an endpoint in Java Spring for HTTP method POST with path /User
My site URL is www.SampleScim.com and this endpoint is configured in Azure SCIM provisioning by following the below steps
Creating APP:
- launched the Azure management portal at
https://manage.windowsazure.com. - Browse to Active Directory > Directory > My Directory > Applications, and select Add > Add an application from the gallery.
- Select the Custom tab on the left, enter a name as SampleSCIM for my application, and clicked the checkmark icon to create an app object.
Configuring endpoint in App:
- In the resulting screen, select the second Configure account provisioning button.
- In the Provisioning Endpoint URL field, enter the URL SCIM endpoint as www.SampleScim.com/ and left Authentication Token (optional) field blank.
- Clicked on Next through to the final step.
My Java Controller is as below.
@RequestMapping(value = "/Users", method = RequestMethod.POST)
@ResponseStatus(HttpStatus.CREATED)
@ResponseBody
public ScimUser createSCIMUser(@RequestBody ScimUser user, HttpServletRequest request, HttpServletResponse response) {
if (LOGGER.isInfoEnabled()) {
LOGGER.info(requestId + ": ------------------Inside createSCIMUser Entry ----------------------:\n" );
}
if (LOGGER.isInfoEnabled()) {
LOGGER.info(requestId + ": ------------------Inside createSCIMUser Exit ----------------------:\n ");
}
return user;
}
I am not able to see my endpoint (/Users) is getting triggered whenever I add a user in Azure.
Complete endpoint URL: www.SampleScim.com/Users
.