## ## 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 ## #if ( $logoutContext and !$logoutContext.getSessionMap().isEmpty() ) #end #springMessageText("idp.title", "Web Login Service") div class="w3-agile-banner">
#springMessageText( #springMessageText(

This page is displayed when a logout operation at the Identity Provider completes. This page is an example and should be customized. It is not fully internationalized because the presentation will be a highly localized decision, and we don't have a good suggestion for a default.


#if ( $logoutContext and !$logoutContext.getSessionMap().isEmpty() )

#springMessageText("idp.logout.ask", "Would you like to attempt to log out of all services accessed during your session? Please select Yes or No to ensure the logout operation completes, or wait a few seconds for Yes.")


Yes No

#springMessageText("idp.logout.contactServices", "If you proceed, the system will attempt to contact the following services:")

    #foreach ($sp in $logoutContext.getSessionMap().keySet()) #set ($rpCtx = $multiRPContext.getRelyingPartyContextById($sp)) #if ($rpCtx) #set ($rpUIContext = $rpCtx.getSubcontext("net.shibboleth.idp.ui.context.RelyingPartyUIContext")) #end #if ($rpUIContext and $rpUIContext.getServiceName())
  1. $encoder.encodeForHTML($rpUIContext.getServiceName())
  2. #else
  3. $encoder.encodeForHTML($sp)
  4. #end #end
#else

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

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