Stable / Works well
A generic connector for exchange of identity information which implements the 1.1 version of the System for Cross-domain Identity Management (SCIM) standard.
Capabilities and Features
Will be implemented if a service is found (for test purposes) which complies to the scim “polling protocol“ specification.
Activation via the “active” attribute.
Native attribute names
|1.4.3||Polygon||download jar||GitHub||December 2016||184.108.40.206||Official release|
|1.4.4||Polygon||download jar||GitHub||March 2017||220.127.116.11||Official release|
The connector itself is available under the terms of Apache License 2.0. To our best knowledge there is no extra license needed to use this connector. (Additional licensing terms and conditions may apply with services on which the connector is used).
There are two methods of authentication supported by the connector represented by two flag values.
Choosing one or the other switches between sets of mandatory attributes.
Both methods of authentication have the following mandatory attributes in common:
“Scim endpoint”: the scim endpoint (e.g. “/scim”)
“Scim version”: the scim version (e.g. “/v1”)
“Authentication”: the authentication method (e.g. “token”)
The “Token” authentication methods mandatory values:
“Base URL”: url value used to query the SCIM endpoints (protocol + hostname)
“Token”: token issued by the service provider
The “Password” authentication methods mandatory values:
“Username”: username of the user registered in the service
“Password”: password of the user registered in the service
“Login url”: the login url to the service
“Grant type”: the service grand type
“Client ID”: the client id value issued by the service provider
“Clientsecret”: the client secret value issued by the service provider
Setting up tests
The test suite consists of a bundle of test methods some of which execute a couple of times depending on the amount of tested resource endpoints. The test parameters ale provided by data providers which fetch their data from a test configuration property file. These property files are provided within the connector source bundle in the scimV1 git repository in the “testProperties” folder.
Most likely and often changed are the attributes of the test method provider “configTestProvider” the first three attributes configure some basic properties used in the tests:
“testNumber”: The number which defines the order of the following test. The number is used as an ID value which is injected in some unique parameter values (e.q. userName). This is because some services do not delete their resource data (e.q. Account data) but they flag it as inactive or deactivated. The unique parameter value is then still used and can be in some cases referenced. This prohibits the usage of an equivalent value.
“pageSize”: This parameter describes the size of the returned list of resource representations.
“pageOffset”: Defines the offset used in listing resources. (e.q. I want to list 100 people but i want the list to start from the 15th entry).
The other attributes of the “configTestProvider” are equivalent to the configuration attributes needed to log into the service and can be seen described above in the “Configuration” section.
The change of other test method provider attributes is not recommended and may result in unsuccessful tests.
The tests create one representation of each resource (e.g. user, group) and then they execute all basic methods which are defined in the scim specification. The tests also incorporate negative testing use cases for proper exception reporting. One of the test cases is intentionally commented out. To trip the “InvalidCredentialException” the test method makes an intentional error in the login credentials while executing an operation. For reasons of unintentional lock out of the service with the runn of this test this test is optional and you can uncomment it when you are sure no harm will be done.