#springMessageText("idp.logoutIntroduce", "Logout in progress")
#if ($promptForIdP or $promptForSP)
#springMessageText("idp.logout.prompt", "Choose one of the following, or wait a few seconds for the default.")
#else #end
## ## Velocity Template for logout flow's starting view-state ## ## 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 ($rpContext = $profileRequestContext.getSubcontext("net.shibboleth.idp.profile.context.RelyingPartyContext")) #if ($rpContext) #set ($rpUIContext = $rpContext.getSubcontext("net.shibboleth.idp.ui.context.RelyingPartyUIContext")) #end #set ($promptForIdP = $logoutContext and !$logoutContext.getIdPSessions().isEmpty()) #set ($promptForSP = $logoutContext and !$logoutContext.getSessionMap().isEmpty())
#if ($promptForSP and !$rpContext) #elseif ($promptForSP and $rpContext) #elseif ($promptForIdP) #end#springMessageText("idp.logoutIntroduce", "Logout in progress")
#springMessageText("idp.logout.prompt", "Choose one of the following, or wait a few seconds for the default.")