Announcement Announcement Module
Collapse
No announcement yet.
Problem with CAS Logout FIlter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with CAS Logout FIlter

    Hi,

    I have a problem with my Logout functionality in my application which using CAS integrated with Spring security. My spring configuration is as below:

    <bean id="logoutFilter" class="org.springframework.security.web.authentica tion.logout.LogoutFilter">
    <!-- URL redirected to after logout success -->
    <constructor-arg value="https://casURL/cas-server-webapp-3.5.1/logout?service=applnURL"/>

    <constructor-arg>
    <list>
    <bean class="org.springframework.security.web.authentica tion.logout.SecurityContextLogoutHandler"/>
    <bean class="com.blah.blah.sso.logout.CustomLogoutHandle r"/>
    </list>
    </constructor-arg>
    </bean>

    On clicking of the Logout link in my application URL with URl /j_spring_security_logout which invalidates session in SecurityContextLogoutHandler and redirects to the serviceURL as in the constructor. My application configuration is so that whenever we try to access the applicationURL , we need to be authenticated using the CAS.



    The issue is i am not able to authenticate myself after the above redirection which throws me the CAS login page.

    the below is my CAS log snapshot of the above scenario:

    2012-12-12 12:28:40,279 WARN [org.jasig.cas.util.HttpClient] - <Error Sending message to url endpoint [https://appURL/dentsu/j_spring_cas_security_check]. Error is [appURL]>
    2012-12-12 12:28:40,343 INFO [com.github.inspektr.audit.support.Slf4jLoggingAudi tTrailManager] - <Audit trail record BEGIN
    ================================================== ===========
    WHO: audit:unknown
    WHAT: https://appURL/dentsu/j_spring_cas_security_check
    ACTION: SERVICE_TICKET_NOT_CREATED
    APPLICATION: CAS
    WHEN: Wed Dec 12 12:28:40 TLT 2012
    CLIENT IP ADDRESS: 10.66.237.33
    SERVER IP ADDRESS: 10.66.176.65
    ================================================== ===========


    Please help.

    Thanks,
    Mckenzie
Working...
X