-
Notifications
You must be signed in to change notification settings - Fork 9
Migration guide
Version 5.x of pac4j is now required. JDK 11 is required too.
The multiProfile
and saveInSession
options are now removed from the filters and handled at the Client
level.
Version 4.x of pac4j is now required.
The UndertowNopHttpActionAdapter
component is renamed as UndertowHttpActionAdapter
and performs a real HTTP adaptation.
Version 3.x of pac4j is now required.
Version 2.x of pac4j is now required.
ApplicationLogoutHandler
is renamed LogoutHandler
and gained getters and setters for the new settings localLogout
(remove pac4j profiles from web session), destroySession
(destroy web session on logout) and centralLogout
(redirect user to identity provider for central logout).
The SecurityMechanism
is replaced by a SecurityHandler
(more in the spirit of the pac4j "security filter"). It populates the Undertow security context with the authenticated user as a Pac4jaccount
The ApplicationLogoutHandler
behaviour has slightly changed: even without any url request parameter, the user will be redirected to the defaultUrl
if it has been defined.
The ClientAuthenticationMechanism
has been replaced by the SecurityMechanism
and now handle both authentication and authorizations.
The HttpResponseHelper
has been renamed in ExchangeHelper
.
The application logout process is managed with the ApplicationLogoutHandler
.