-
Notifications
You must be signed in to change notification settings - Fork 27
Logout configuration
CAS in the cloud LELEU Jérôme edited this page Dec 9, 2022
·
3 revisions
You need to define a logout endpoint using the LogoutController to handle logout.
>> Read the documentation to understand its behavior and the available options.
While getters/setters can be used to define the options, the pac4j.logout.* properties can also be used. The additional pac4j.logout.path property (optional) allows to define the path of which the logout controller is triggered (/logout by default).
The LogoutController must be defined by classpath scanning:
<context:component-scan base-package="org.pac4j.springframework.web" />@ComponentScan(basePackages = "org.pac4j.springframework.web")