## ## Velocity Template for DisplayAttributeReleasePage view-state ## ## Velocity context will contain the following properties : ## ## attributeReleaseContext - context holding consentable attributes ## attributeReleaseFlowDescriptor - attribute consent flow descriptor ## attributeDisplayNameFunction - function to display attribute name ## consentContext - context representing the state of a consent flow ## encoder - HTMLEncoder class ## flowExecutionKey - SWF execution key (this is built into the flowExecutionUrl) ## flowExecutionUrl - form action location ## flowRequestContext - Spring Web Flow RequestContext ## profileRequestContext - OpenSAML profile request context ## request - HttpServletRequest ## response - HttpServletResponse ## rpUIContext - context with SP UI information from the metadata ## environment - Spring Environment object for property resolution #set ($serviceName = $rpUIContext.serviceName) #set ($serviceDescription = $rpUIContext.serviceDescription) #set ($informationURL = $rpUIContext.informationURL) #set ($privacyStatementURL = $rpUIContext.privacyStatementURL) #set ($rpOrganizationLogo = $rpUIContext.getLogo()) #set ($rpOrganizationName = $rpUIContext.organizationDisplayName) ## #springMessageText("idp.attribute-release.title", "Information Release")
#if ($rpOrganizationLogo) #end

#if ($serviceName)

#springMessageText("idp.attribute-release.serviceNameLabel", "You are about to access the service:")
$serviceName #if ($rpOrganizationName) #springMessageText("idp.attribute-release.of", "of") $encoder.encodeForHTML($rpOrganizationName) #end

#end #if ($serviceDescription)

#springMessageText("idp.attribute-release.serviceDescriptionLabel", "Description as provided by this service:")
$encoder.encodeForHTML($serviceDescription)

#end #if ($informationURL)

#springMessageText("idp.attribute-release.informationURLLabel", "Additional information about the service")

#end
#foreach ($attribute in $attributeReleaseContext.getConsentableAttributes().values()) #end
#springMessageText("idp.attribute-release.attributesHeader", "Information to be Provided to Service")
$encoder.encodeForHTML($attributeDisplayNameFunction.apply($attribute)) #foreach ($value in $attribute.values) $encoder.encodeForHTML($value.getDisplayValue())
#end
#if ($attributeReleaseFlowDescriptor.perAttributeConsentEnabled) #set ($inputType = "checkbox") #else #set ($inputType = "hidden") #end
#springMessageText("idp.attribute-release.name_ids", "Furthermore, a transient or persistent Id will be released")
#if ($privacyStatementURL)

#springMessageText("idp.attribute-release.privacyStatementURLLabel", "Data privacy information of the service")

#end
#if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed)
#springMessageText("idp.attribute-release.consentMethod", "Select an information release consent duration:") #end #if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed)

#springMessageText("idp.attribute-release.doNotRememberConsent", "Ask me again at next login")

#end #if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed)

#springMessageText("idp.attribute-release.rememberConsent", "Ask me again if information changes")

#end #if ($attributeReleaseFlowDescriptor.globalConsentAllowed)

#springMessageText("idp.attribute-release.globalConsent", "Do not ask me again")

#end #if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed) #springMessageText("idp.attribute-release.consentMethodRevoke", "This setting can be revoked at any time with the checkbox on the login page.")
#end

  #springMessageText("idp.attribute-release.print_page", "Print Page")