====== Beispiel für eine EU-DSGVO-konforme Konfiguration des User Consent Moduls - Terms of Use Template ====== **Zurück zur Hauptseite: [[de:shibidp:config-consent-dsgvo|Shib IdP 4.1.x]], [[de:shibidp:config-consent-dsgvo_shib-idp_4.0.x|Shib IdP 4.0.x]]** ## ## Velocity Template for DisplayTermsOfUsePage view-state ## ## Velocity context will contain the following properties : ## ## encoder - HTMLEncoder class ## flowExecutionKey - SWF execution key (this is built into the flowExecutionUrl) ## flowExecutionUrl - form action location ## flowRequestContext - Spring Web Flow RequestContext ## request - HttpServletRequest ## response - HttpServletResponse ## rpUIContext - context with SP UI information from the metadata ## termsOfUseId - terms of use ID to lookup message strings ## environment - Spring Environment object for property resolution #set ($serviceName = $rpUIContext.serviceName) #set ($rpOrganizationLogo = $rpUIContext.getLogo()) ## #springMessageText("${termsOfUseId}.title", "Terms of Use")
#if ($rpOrganizationLogo) #end
#springMessageText("my-tou.title", "Einwilligungserklärung")
#springMessageText("my-service-description", "Description of IdP") #springMessageText("my-tou.text", "Terms of Use Text...")
#parse("csrf/csrf.vm")
#parse("csrf/csrf.vm") #if ($requireCheckbox)

#springMessageText("idp.terms-of-use.required", "Please check this box if you want to proceed.")

#end
{{tag>idp3 idp4 fixme}}