public void doLogout ( StaplerRequest req , StaplerResponse rsp ) throws IOException , ServletException { String user = getAuthentication ( ) . getName ( ) ; securityRealm . doLogout ( req , rsp ) ; SecurityListener . fireLoggedOut ( user ) ; }
Logs out the user .