## ## Velocity Template for DisplayChooserPage 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 ## authenticationContext - context with authentication request information ## rpUIContext - the context with SP UI information from the metadata ## availableAuthenticationFlows - collection of available AuthenticationFlowDescriptor objects ## 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')) ## #springMessageText("idp.title", "Web Login Service")
#springMessageText(

#springMessageText("idp.login.chooser", "Select Authentication.")

#set ($serviceName = $rpUIContext.serviceName) #if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName)) #springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName) #end #foreach ($authnFlow in $availableAuthenticationFlows) #if ($authenticationContext.isAcceptable($authnFlow) and $authnFlow.apply(profileRequestContext))
#end #end
#* // // SP Description & Logo (optional) // These idpui lines will display added information (if available // in the metadata) about the Service Provider (SP) that requested // authentication. These idpui lines are "active" in this example // (not commented out) - this extra SP info will be displayed. // Remove or comment out these lines to stop the display of the // added SP information. // *# #set ($logo = $rpUIContext.getLogo()) #if ($logo) $encoder.encodeForHTMLAttribute($serviceName) #end #set ($desc = $rpUIContext.getServiceDescription()) #if ($desc) $encoder.encodeForHTML($desc) #end