Skip to content
LELEU Jérôme edited this page Apr 8, 2020 · 4 revisions

3.x -> 4.x

Version 4.x of pac4j is now required.

The DefaultHttpActionAdapter has been renamed as SparkHttpActionAdapter and a default instance is available via SparkHttpActionAdapter.INSTANCE.

2.0 -> 3.x

Version 3.x of pac4j is now required.

1.3 -> 2.0

Version 2.x of pac4j is now required.

The ApplicationLogoutRoute has been renamed as LogoutRoute with more options.

1.2 -> 1.3

Use context.getSparkResponse().body() instead of context.getBody().

1.1 -> 1.2

The RequiresAuthenticationFilter is now named SecurityFilter.

The ApplicationLogoutRoute behaviour has slightly changed: even without any url request parameter, the user will be redirected to the defaultUrl if it has been defined.

1.0 -> 1.1

Authorizations are now handled by the library so the ClientFactory can now longer be used and is replaced by a ConfigFactory which builds a Config which gathers clients (for authentication) and authorizers (for authorizations).

The application logout process can be managed with the ApplicationLogoutFilter.

Clone this wiki locally