We are proud to announce the availability of Connector4Java 1.8 and SCIM Schema 1.6. These releases restores the compatibility with versions of OSIAM <= 2.3 and introduces support for OSIAM 3.0. There are also 2 new features: set network timeouts per connector and management of OAuth 2 clients.
The artifacts have been deployed to Maven central. We recommend consuming them with Maven, Gradle or any other build tool supporting the Maven repositories. You can also download the JAR files using one of the following links:
Artifact | Download |
---|---|
connector4java | Central .jar |
scim-schema | Central .jar |
It follows an overview of the most important changes. See the full changelogs at the Connector4Java 1.8 release page on GitHub and the SCIM schema 1.6 release page on GitHub.
Manage OAuth Clients
You can now manage your OAuth clients via the Connector4Java. To get a list of all clients use:
To get a specific client:
To create a client:
Note that createdClient
might not contain the same values as client
.
The server can override given values and will set defaults for missing values.
To delete a client:
To change a client:
Note that updatedClient
might not contain the same values as client
.
The server can override given values and will set defaults for missing values.
Network Timeouts per Connector
You can now set network timeouts per connector instance:
You can still globally set timeouts like before. Use this to set timeouts for all connector instances or global defaults that can be overridden per connector. For more information see the Connector4Java documentation.
Compatibility
In release 1.7 the Connector4Java introduced an incompatibility with versions of OSIAM <= 2.3.
This release restore this compatibility.
To connect to OSIAM <= 2.3, you have to set the configuration option withLegacySchemas
on the OsiamConnector
to true
:
For more information see the Connector4Java documentation.
Also, support for OSIAM 3.0 has been added.
This enables you to test your current applications against OSIAM 3.0, that is still in development, without having to change the dependencies.
To connect to OSIAM 3.0, you have to use the configuration option withEndpoint
on the OsiamConnector
instead of the other endpoint methods:
For more information see the Connector4Java documentation.
Immutable SCIM Classes
We always thought that all SCIM classes were immutable, but taking a closer look revealed that this wasn’t the case. So, to preserve thread safety, we overhauled all SCIM classes to make them truly immutable. We still don’t document this fact, mostly because it is hard to automatically proof. This means, that you shouldn’t rely on immutability when passing objects to untrusted clients. They might find a way to change the object’s data.
Deprecations
Some classes and methods have been deprecated in this release. They will be removed in release 1.9 or 2.0 of the SCIM schema. The deprecated items are:
-
org.osiam.resources.scim.Constants
The contained constants have been moved to the respective classes or completely removed.
-
org.osiam.resources.helper.SCIMHelper
The only contained method is now part of the
User
class. -
org.osiam.resources.helper.UserDeserializer#UserDeserializer(Class<?> valueClass)