Releases: osiam/connector4java
OSIAM Connector4Java 1.9
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
OSIAM Connector4Java 1.9.CR1
Circle CI Build: https://circleci.com/gh/osiam/connector4java/216
OSIAM Connector4Java 1.8
Changelog
Features
-
Set network timeouts on a per connector basis
Related methods:
OsiamConnector.Builder#withReadTimeout
OsiamConnector.Builder#withConnectTimeout
-
Manage OAuth 2 clients via the connector
Related methods:
AuthService#getClients
AuthService#getClient
AuthService#createClient
AuthService#updateClient
AuthService#deleteClient
-
Support legacy SCIM schemas for connecting to OSIAM <= 2.3
See Create an OSIAM connector, if you use
OSIAM <= 2.3. -
Support OSIAM 3.x
See Create an OSIAM connector, if you use OSIAM 3.0.
Changes
-
OsiamConnector#setMaxConnections
also sets the maximum connections per routeAnticipate that auth-server and resource-server are installed under the same domain.
Therefore, maximum number of connections is the same as maximum connections per route.
Additionally useOsiamConnector#setMaxConnectionsPerRoute
, if your auth-server and
resource-server are not installed under the same domain. -
Support Jackson versions < 2.5 in classpath
Applications that use Jackson < 2.5 can use the connector without upgrading Jackson.
See #168 for more details. -
Throw
BadCredentialsException
when retrieving access token with wrong client credentialsSee #173 for more details.
-
Throw
BadRequestException
when auth-server responds with400 Bad Request
See #173 for more details.
Fixes
Other
-
Migrate documentation from wiki to markdown files in repo
You can find the documentation in the
docs/
folder.
Updates
-
scim-schema
1.6See
scim-schema
's changelog
for more details -
joda-time
2.8.2 -
Jersey 2.22
OSIAM Connector4Java 1.7
WARNING: This release is considered broken and should not be used. See osiam/auth-server#84 for more details.
Changelog
Changes
- Update
scim-schema
to solve performance issues when deserializingUser
s - Deprecate old, method-based scopes (
GET
,POST
,PUT
,PATCH
,DELETE
) - Adjust the client to the SCIM compliant errors (compatibility with OSIAM <= 2.x is provided)
- Throws
IllegalStateException
when using a non-configured service endpoint, wasInvalidAttributeException
OSIAM Connector4Java 1.6
Changelog
Features
-
Allow configuration of maximum number of HTTP connections and connections
per routeRelated methods:
OsiamConnector#setMaxConnections(int)
OsiamConnector#setMaxConnectionsPerRoute(int)
Changes
- Bump scim-schema to version 1.4
OSIAM Connector4Java 1.5.1
Changelog
Fixes
- IllegalArgumentException from Jackson when searching for resources
OSIAM Connector4Java 1.5
Changelog
Features
- add ADMIN scope
- add ME scope
- handle HTTP Forbidden from auth-server
Changes
- bump dependencies