Skip to content
LELEU Jérôme edited this page Mar 11, 2020 · 9 revisions

-> 5.0

The setConfig and getConfig methods are now named setSharedConfig and getSharedConfig.

2.0 -> 3.0

The FilterHelper can be used to programmatically define filters and mappings, using an injected Config.

The WebContext and the ProfileManager are automatically produced by the Pac4jProducer and the HttpServletResponseProducer (based on JSF) and can be injected wherever they are needed.

1.3 - > 2.0

The ApplicationLogoutFilter has been renamed as LogoutFilter and now handles both the application and identity provider logouts.

1.2 - > 1.3

The RequiresAuthenticationFilter is now named SecurityFilter with the clients, authorizers and matchers parameters instead of the previous clientName, authorizerName and matcherName.

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

1.1 -> 1.2

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 isAjax parameter is no longer available as AJAX requests are now automatically detected. The stateless parameter is no longer available as the stateless nature is held by the client itself.

The requireAnyRole and requieAllRoles parameters are no longer available and authorizers must be used instead (with the authorizerName parameter).

The application logout process can be managed with the ApplicationLogoutFilter.

Clone this wiki locally