question: public static void invalidateSession ( Object session , HttpServletRequest request , HttpServletResponse response , String protocol ) throws SessionException { SessionProvider provider = SessionManager . getProvider ( ) ; if ( ! isMultipleProtocolSession ( session , protocol ) ) { provider . invalidateSession ( session , request , response ) ; } else { removeFederationProtocol ( session , protocol ) ; } }
target:  Invalidates session for a specific protocol.   This method invaldates the session if it is not used in any other federation protocol, otherwise modifies session property to remove the sepcified protocol from the session. 