-
Notifications
You must be signed in to change notification settings - Fork 30
Migration guide
Version 6.x of pac4j is now required.
Customisations of the security interceptor and controllers are done via the Config
component only.
Spring framework 6 and JDK 17 are now required. The pac4j-jakartaee
artifact is pulled instead of the pac4j-javaee
artifact.
The pac4j-javaee
artifact is pulled instead of the pac4j-jee
artifact: JEE components are now in the org.pac4j.jee
package.
The pac4j-jee
artifact is pulled instead of the pac4j-core
artifact.
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.
The annotations: org.pac4j.springframework.annotation.ui.RequireAnyRole
and org.pac4j.springframework.annotation.ws.RequireAnyRole
are merged into the annotation: org.pac4j.springframework.annotation.RequireAnyRole
.
The annotations: org.pac4j.springframework.annotation.ui.RequireAllRoles
and org.pac4j.springframework.annotation.ws.RequireAllRoles
are merged into the annotation: org.pac4j.springframework.annotation.RequireAllRoles
.
Version 4.x of pac4j is now required.
Version 3.x of pac4j is now required.
Version 2.x of pac4j is now required.
The ApplicationLogoutController
has been renamed as LogoutController
and now handles both the application and identity provider logouts.
The RequiresAuthenticationInterceptor
is now named SecurityInterceptor
.
The ApplicationLogoutController
behaviour has slightly changed: even without any url
request parameter, the user will be redirected to the defaultUrl
if it has been defined.