Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Releases: osiam/connector4java

OSIAM Connector4Java 1.9

04 Aug 15:16
Compare
Choose a tag to compare

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 and Group 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 a display 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 a BadRequestException instead of a ConflictException.
  • 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 method OsiamConnector.getCurrentUserBasic()
  • Group.Builder#setId(String) and User.Builder#setId(String)
  • Group.Builder#setMeta(Meta) and User.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 attributes
  • setOperation(String) in all multi-valued attribute builders
  • org.osiam.resources.scim.Group.Builder.setMembers(Set<MemberRef>)
  • org.osiam.resources.scim.GroupRef.Builder

OSIAM Connector4Java 1.9.CR1

14 Jun 21:56
Compare
Choose a tag to compare

OSIAM Connector4Java 1.8

12 Dec 23:01
Compare
Choose a tag to compare

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 route

    Anticipate 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 use OsiamConnector#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 credentials

    See #173 for more details.

  • Throw BadRequestException when auth-server responds with 400 Bad Request

    See #173 for more details.

Fixes

  • Missing Content-Length header on some requests

    See also: #179 and #180

Other

  • Migrate documentation from wiki to markdown files in repo

    You can find the documentation in the docs/ folder.

Updates

OSIAM Connector4Java 1.7

11 Sep 09:12
Compare
Choose a tag to compare

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 deserializing Users
  • 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, was InvalidAttributeException

OSIAM Connector4Java 1.6

18 Jun 13:26
Compare
Choose a tag to compare

Changelog

Features

  • Allow configuration of maximum number of HTTP connections and connections
    per route

    Related methods:

    • OsiamConnector#setMaxConnections(int)
    • OsiamConnector#setMaxConnectionsPerRoute(int)

Changes

  • Bump scim-schema to version 1.4

OSIAM Connector4Java 1.5.1

01 Jun 17:28
Compare
Choose a tag to compare

Changelog

Fixes

  • IllegalArgumentException from Jackson when searching for resources

OSIAM Connector4Java 1.5

01 Jun 17:28
Compare
Choose a tag to compare

Changelog

Features

  • add ADMIN scope
  • add ME scope
  • handle HTTP Forbidden from auth-server

Changes

  • bump dependencies