cancel
Showing results for 
Search instead for 
Did you mean: 

SCIM SDK 1.8.14: strict mode for resource descriptors to allow for unknown core attributes

scim
New Member
0 Kudos

SCIM SDK 1.8.14: strict mode for resource descriptors to allow for unknown core attributes

Hi Team,

 

I am using SCIM sdk 1.8.14, as per release notes unknown core schema attributes are allowed.

The Salesforce scim server has 'alias' schema attribute as core schema and this is unknown schema attribute for UnboundID SDK,

---------------------------------------------------------------------------------------------

 

 

Updated the SCIM SDK to allow custom Users and Groups endpoint names and resource descriptor names if an implementation uses custom identifiers. Also changed the default strict mode for resource descriptors to allow for unknown core attributes and custom schema. Attribute descriptors in the CoreSchema class are now marked with public accessibility to make them easier to reference in resource subclasses.

 

----------------------------------------------------------------------------------------- 

 

But it is failing with error:

Caused by: com.unboundid.scim.sdk.InvalidResourceException: Attribute urn:scim:schemas:core:1.0:alias is not defined for resource User

at com.unboundid.scim.schema.ResourceDescriptor.getAttribute(ResourceDescriptor.java:123)

 

Please advice.

 

2 REPLIES
UnboundID _-rc-_
UnboundID
0 Kudos

Re: SCIM SDK 1.8.14: strict mode for resource descriptors to allow for unknown core attributes

To retrieve a User resource with a custom core attribute you can't use the standard SCIM UserResource type because the response still contains a schema violation, but you can subclass UserResource, e.g. SalesforceUserResource, adding the definition for the custom alias attribute and retrieve a user that way. Unfortunately when requesting a custom endpoint for Salesforce users, the schema descriptor contains attributes which violate the SCIM 1.1 standard causing the endpoint construction to fail. We are investigating how make retrieving custom endpoint schemas more compatible but there is no timeline for when this might be fixed.

 

Currently it is still easier obtaining all the core attributes using an enumerated list of supported attributes instead of requesting the entire UserResource object.

scim
New Member
0 Kudos

Re: SCIM SDK 1.8.14: strict mode for resource descriptors to allow for unknown core attributes

For update using PUT operation, we need full object. so enumerated list will not work here.

Is this fixed in recent releases?

Labels