OSIAM v2.5 Release Notes

Release Date: 2015-12-22 // over 8 years ago
  • ๐Ÿ”„ Changelog

    OSIAM Auth Server 2.5

    ๐Ÿ”‹ Features

    ๐Ÿ‘‰ Use JDBC connection pooling

    0๏ธโƒฃ By default the pool has a size of 10 and a timeout of 30s to acquire a connection.
    ๐Ÿ”ง These settings can be changed with the following configuration properties:

    • org.osiam.auth-server.db.maximum-pool-size

    - org.osiam.auth-server.db.connection-timeout-ms

    ๐Ÿ‘Œ Support retrieving list of clients

    ๐Ÿ‘‰ Use the resource endpoint /Client with GET.

    ๐Ÿ”ง Make number of parallel connections to the auth-server configurable

    ๐Ÿ”ง The default is 40 and can be changed with the following configuration property:

    - org.osiam.resource-server.connector.max-connections

    ๐Ÿ”ง Make timeouts of connections to auth-server configurable

    0๏ธโƒฃ By default the read timeout is set to 10000ms and the connect timeout to 5000ms.
    ๐Ÿ”ง These settings can be changed with the following configuration properties:

    • org.osiam.resource-server.connector.read-timeout-ms
    • org.osiam.resource-server.connector.connect-timeout-ms

    ๐Ÿ”„ Changes

    โž• Add Flyway migration to replace method-based scopes

    ๐Ÿšš The migration removes all method-based scopes from the auth-server client and adds the scope ADMIN.

    0๏ธโƒฃ Increase default timeouts for connections to resource-server

    0๏ธโƒฃ By default the read timeout is set to 10000ms and the connect timeout to 5000ms.

    0๏ธโƒฃ Increase default maximum number of parallel connections to resource-server

    0๏ธโƒฃ The default is 40.

    Switch to Spring Boot

    ๐Ÿ”จ Refactor database schema

    Note: Some fields in table osiam_client have been renamed:

    • accesstokenvalidityseconds becomes access_token_validity_seconds
    • refreshtokenvalidityseconds becomes refresh_token_validity_seconds
    • validityinseconds becomes validity_in_seconds

    โšก๏ธ Update your SQL scripts, if you add OAuth 2 clients via direct database manipulation.
    It's recommended to use the RESTful endpoints under /Client to manage Clients.

    ๐Ÿ›  Fixes

    Make sure access_token, refresh_token and token_type are added only
    ๐Ÿ›  once to the returned Access Token (Fixes #42).

    โœ‚ Remove scopes from the Access Token (Fixes #51).

    Prevent NPE when User#active is null

    ๐Ÿ– Handle duplicate client creation error on application level

    Respond with Conflict 409 when a client with a requested client id already
    exists

    โšก๏ธ Updates

    • OSIAM connector4java 1.8
    • MySQL JDBC driver 5.1.37
    • PostgreSQL JDBC driver 9.4-1205
    • ๐Ÿ”’ OAuth2 for Spring Security 2.0.8

    OSIAM Resource Server 2.5

    ๐Ÿ”‹ Features

    ๐Ÿ‘‰ Use JDBC connection pooling

    0๏ธโƒฃ By default the pool has a size of 10 and a timeout of 30s to acquire a connection.
    ๐Ÿ”ง These settings can be changed with the following configuration properties:

    • org.osiam.resource-server.db.maximum-pool-size

    - org.osiam.resource-server.db.connection-timeout-ms

    Populate the type field of a Group's members

    Members of a Group have their type field set to either User or Group.

    ๐Ÿ”ง Make number of parallel connections to the auth-server configurable

    ๐Ÿ”ง The default is 40 and can be changed with the following configuration property:

    - org.osiam.auth-server.connector.max-connections

    ๐Ÿ”ง Make timeouts of connections to auth-server configurable

    0๏ธโƒฃ By default the read timeout is set to 10000ms and the connect timeout to 5000ms.
    ๐Ÿ”ง These settings can be changed with the following configuration properties:

    • org.osiam.auth-server.connector.read-timeout-ms
    • org.osiam.auth-server.connector.connect-timeout-ms

    ๐Ÿ”„ Changes

    0๏ธโƒฃ Increase default timeouts for connections to auth-server

    0๏ธโƒฃ By default the read timeout is set to 10000ms and the connect timeout to 5000ms.

    0๏ธโƒฃ Increase default maximum number of parallel connections to auth-server

    0๏ธโƒฃ The default is 40.

    Switch to Spring Boot

    ๐Ÿ”จ Refactor database schema

    Note: Some fields in table scim_extension_field have been renamed:

    • extension_internal_id becomes extension;
    • is_required becomes required;

    โšก๏ธ Update your SQL scripts, if you add SCIM 2 extensions via direct database
    manipulation.

    ๐ŸŒฒ Produce a meaningful log message and respond with 503 TEMPORARILY UNAVAILABLE
    instead of 409 CONFLICT if the auth-server cannot be reached to validate or
    revoke an access token.

    All invalid search queries now respond with a 400 BAD REQUEST instead of
    409 CONFLICT status code.

    Respond with 401 UNAUTHORIZED when revoking or validating an access token
    fails because of invalid access token.

    โœ‚ Remove configuration property org.osiam.resource-server.db.dialect

    โœ‚ Remove self written profiling solution since we now use the Metrics
    ๐Ÿ”ง framework. This removes the configuration property org.osiam.resource-server.profiling

    ๐Ÿ‘‰ Make the generated errors SCIM compliant

    Error responses look like this according to Scim 2:

    {
      "schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
      "detail": "Resource 2819c223-7f76-453a-919d-413861904646 not found",
      "status": "404"
    }
    

    ๐Ÿ›  Fixes

    Only set UserEntity#active if value is not null

    Prevents a NPE when storing users that have no value for the active field.

    ๐Ÿ‘‰ Use correct schema for Scim resources

    Affected resources and the changes are:

    • User: urn:scim:schemas:core:2.0:User becomes urn:ietf:params:scim:schemas:core:2.0:User
    • Group: urn:scim:schemas:core:2.0:Group becomes urn:ietf:params:scim:schemas:core:2.0:Group
    • ListResponse: urn:scim:schemas:core:2.0:User/urn:scim:schemas:core:2.0:Group becomes urn:ietf:params:scim:api:messages:2.0:ListResponse
    • ServiceProviderConfig: urn:scim:schemas:core:2.0:ServiceProviderConfig becomes urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig

    โšก๏ธ Updates

    • OSIAM connector4java 1.8
    • MySQL JDBC driver 5.1.37
    • PostgreSQL JDBC driver 9.4-1205
    • AspectJ 1.8.7
    • Metrics Spring Integration 3.1.2