## ## Velocity Template for logout flow's concluding view-state (no propagation) ## ## Velocity context will contain the following properties ## flowExecutionUrl - the form action location ## flowRequestContext - the Spring Web Flow RequestContext ## flowExecutionKey - the SWF execution key (this is built into the flowExecutionUrl) ## profileRequestContext - root of context tree ## logoutContext - context with SPSession details for logout operation ## multiRPContext - context with RelyingPartyContexts and possibly SP UI information from the metadata ## encoder - HTMLEncoder class ## request - HttpServletRequest ## response - HttpServletResponse ## environment - Spring Environment object for property resolution ## custom - arbitrary object injected by deployer ## #set ($activeIdPSessions = $logoutContext and !$logoutContext.getIdPSessions().isEmpty()) #set ($activeSPSessions = $logoutContext and !$logoutContext.getSessionMap().isEmpty()) #springMessageText("idp.title", "Web Login Service")
#springMessageText(
#if ($activeIdPSessions)

#springMessageText("idp.logout.cancelled", "Logout has been cancelled.")

#elseif ($activeSPSessions)

#springMessageText("idp.logout.local", "You elected not to log out of all the applications accessed during your session.")

#else

#springMessageText("idp.logout.complete", "The logout operation is complete, and no other services appear to have been accessed during this session.")

#end
#if ( $profileRequestContext.getProfileId().contains("saml2/logout") ) #end