This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
Release announcement: http://osiam.github.io/2016/08/04/release-connector4java-1.9.html
Circle CI Build: https://circleci.com/gh/osiam/connector4java/226
Changelog
This release deprecates the support of OSIAM 2.x.
It will be completely removed in version 1.12 or 2.0.
Please update to OSIAM 3.0 as soon as possible.
Features
- It is now possible to filter the attributes of the returned
User
andGroup
resources by supplying the
attributes as arguments to the the appropriate methods. - Introduce a
getMe()
method to retrieve the currently logged in user
from OSIAM. This is supposed to be the new method to retrieve the logged in
user and also works with OSIAM 2.x. Group.Builder
API has been extended with methods to change the list of members:addMembers(Collection<MemberRef>)
removeMember(MemberRef)
removeMembers()
- The scim-schema has been completely merged into this project. It is now obsolete.
Address
has adisplay
property now.- The user name can now be set via the builder.
- The group's display name can now be set via the builder.
- Properties of a user's name attribute can be easily updated now.
Changes
- Jackson has been shaded, so that the only dependency left of the connector is Guava.
- The current snapshot version is now
latest-SNAPSHOT
for all upcoming versions.
Fixes
- Resources could be changed by using the copy-of constructor of the builders, though they were supposed
to be immutable. - An Extension could be changed by using the copy-of constructor of its builder, though it was supposed
to be immutable. - A
400 BAD REQUEST
response now creates aBadRequestException
instead of aConflictException
. - Return the right builder type in
Photo.Builder#setValue(String)
. - Replacing a group with PUT was actually updating it with PATCH.
- Extensions defined in the
schemas
attribute of a resource will be ignored, if the resource contains
no data for the extension, instead of raising an exception.
Deprecations
- Updates of resources via PATCH
- The
BasicUser
class and the methodOsiamConnector.getCurrentUserBasic()
Group.Builder#setId(String)
andUser.Builder#setId(String)
Group.Builder#setMeta(Meta)
andUser.Builder#setMeta(Meta)
org.osiam.resources.scim.Meta.Builder
User.Builder.Builder(String, User)
Group.Builder.Builder(String, Group)
org.osiam.resources.scim.User.Builder.setGroups(List<GroupRef>)
org.osiam.resources.scim.MemberRef.Builder.setReference(String)
org.osiam.client.OsiamConnector.updateUser(String, UpdateUser, AccessToken)
org.osiam.client.OsiamConnector.updateGroup(String, UpdateGroup, AccessToken)
org.osiam.resources.scim.UpdateUser
org.osiam.resources.scim.UpdateGroup
getOperation()
in all multi-valued attributessetOperation(String)
in all multi-valued attribute buildersorg.osiam.resources.scim.Group.Builder.setMembers(Set<MemberRef>)
org.osiam.resources.scim.GroupRef.Builder