-
Notifications
You must be signed in to change notification settings - Fork 41
Migration guide
Version 3.x of pac4j is now required.
Version 2.x of pac4j is now required.
The ApplicationLogoutRoute has been renamed as LogoutRoute with more options.
Use context.getSparkResponse().body() instead of context.getBody().
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.
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.