I'm trying singleLogout from Spring boot application using CAS server.I'm able to logout from Spring application and CAS server but I want to redirect to my custom logout page of spring application https://applicationip:port/application/logoutsuccesspage rather than CAS logout page i.e. https://casserverip:port/cas/logout
相关问题
- java.lang.IllegalArgumentException: Cannot set to
- “Zero out” sensitive String data in Swift
- Spring Data MongoDB - lazy access to some fields
- Declaring an explict object dependency in Spring
- Decoding body parameters with Spring
相关文章
- java JDK动态代理和cglib动态代理最后获取的代理对象都为null的问题
- org.xml.sax.SAXParseException; lineNumber: 7; colu
- SpringMVC如何把File封装到Map中?
- Warning : HTML 1300 Navigation occured?
- Spring: controller inheritance using @Controller a
- How to load @Configuration classes from separate J
- Java spring framework - how to set content type?
- Java/Spring MVC: provide request context to child
Documentation is your friend.
Quoting from official docs:
and related application properties:
So first, you have to instruct cas to follow logout redirects by setting:
cas.logout.followServiceRedirects=true
and then provide the url that you wish to redirect users after logout:
cas.logout.redirectUrl=https://applicationip:port/application/logoutsuccesspage
References: Logout - Single Logout & CAS Properties
Note: Docs refer to 5.3.x branch.