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.
-
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.
- 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.
- 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.
- 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
-
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.
-
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 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 credentialsSee #173 for more details.
-
Throw
BadRequestException
when auth-server responds with400 Bad Request
See #173 for more details.
-
Migrate documentation from wiki to markdown files in repo
You can find the documentation in the
docs/
folder.
-
scim-schema
1.6See
scim-schema
's changelog for more details -
joda-time
2.8.2 -
Jersey 2.22
- Update scim-schema to solve performance issues when deserializing
User
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
)
-
Allow configuration of maximum number of HTTP connections and connections per route
Related methods:
OsiamConnector#setMaxConnections(int)
OsiamConnector#setMaxConnectionsPerRoute(int)
- Bump scim-schema to version 1.4
- IllegalArgumentException from Jackson when searching for resources
- add ADMIN scope
- add ME scope
- handle HTTP Forbidden from auth-server
- bump dependencies
- [feature] allow configuration of connect and read timeout
- release because of fixes in addon-administration
- [fix] fixed creation of auth server by retrieving refresh token
- nothing changed
- [feature] shading all 3rd-party dependencies 3rd-party dependencies are shaded and packages relocated to eliminate possible dependency and jar hell issues. this enables the usage with Dropwizard and other projects depending on a different version of JAX-RS or Jersey. Note: Because of this you cannot rely on transitive dependencies which may have been introduced by the connector to your project. If your build goes red after updating to 1.2, just fix your dependencies.
- [feature] revocation of access tokens It is now possible to revoke access tokens by using OsiamConnector#revokeAccessToken(AccessToken tokenToRevoke) to revoke a single access token and OsiamConnector#revokeAllAccessTokens(String id, AccessToken accessToken) to revoke all access tokens of a given user (the access token supplied to this method is for used for authentication).
- [enhancement] updated dependencies: Jersey 2.12, Joda Time 2.4
- [fix] memory leak caused by Jersey client Jersey is leaking cloned instaces of org.glassfish.jersey.client.ClientConfig.State on each request. see https://java.net/jira/browse/JERSEY-2378 for further details.
- [fix] OAuth error message will not be consumed In case of an error with OAuth the resulting error message was not consumed by the connector, only SCIM errors were.
- [fix] many typos in README.md
Finally released version 1.0 of all important OSIAM projects!
- [enhancement] You can check if an access token is valid
- [enhancement] AccessToken provides additional information about the user it belongs to and the expiration date of the refresh token. The AccessToken can be created with a Builder.
- [refactor] The OsiamConnector.Builder doesn't need all information to create an AccessToken. You can set the needed information directly in the retrieveAccessToken(...) methods. The OsiamConnector provides one retrieveAccessToken-method for each grant For detailed information, please checkout the migration
- [feature] added class StringQueryBuilder
- [feature] added class QueryHelper
- [refactor] renaming some methods in the OsiamConnector.Builder For detailed information, please checkout the migration
- [enhancement] Raised SCIM-Schema version to 0.41. No migration necessary. -> Consider the deprecated API's for getAllExtensions and getAllFields in SCIM-Schema
- [refactoring] OsiamConnector and AccessToken can be extended now, because they are not final anymore and the token field in the AccessToken class is protected