0
我triying做一個簡單的預註銷掛鉤工作,我有我的主類CustomPreLogoutAction.java,我在同一個包portal.properties與Liferay的Logout.events.pre不符合CAS
logout.events.pre=CustomPreLogoutAction
和Liferay的-hook.xml這些行:
<hook>
<portal-properties>portal.properties</portal-properties>
</hook>
我爲登錄一個簡單的掛鉤,它工作正常,但在註銷它我以前不工作,我想logout.events.pre ,logout.events.post但他們不工作。 問題是liferay不使用默認註銷原因CAS被實現。 (在CentralAuthenticationService.deleteTicketGrantingTicket()中插入方法可以是一個解決方案,但我想做個鉤子)我該如何解決這個問題?
試過但不起作用,當我解散CAS的作品,但與CAS活躍不 – El0din