Package org.jasig.cas.client.session

Examples of org.jasig.cas.client.session.SingleSignOutHandler


            throws IOException, ServletException {
       
        HttpServletRequest httpReq= (HttpServletRequest) req;
        HttpServletResponse httpRes= (HttpServletResponse) res;
               
        SingleSignOutHandler handler = getHandler();
        // check for sign out request from cas server
        if (handler.isLogoutRequest(httpReq)) {
            if (singleSignOut) { // do we participate
                LOGGER.info("Single Sign Out received from CAS server --> starting log out");
                handler.destroySession(httpReq);               
                LogoutFilterChain logOutChain = (LogoutFilterChain)
                        getSecurityManager().getSecurityConfig().getFilterChain().getRequestChainByName("webLogout");
                logOutChain.doLogout(getSecurityManager(), httpReq, httpRes,getName());
            } else
                LOGGER.info("Single Sign Out received from CAS server --> ignoring");
View Full Code Here

TOP

Related Classes of org.jasig.cas.client.session.SingleSignOutHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.