You should already have a staging directory from your initial installation. This variable is referred to as war staging dir in the following procedure.
Download the Windows patch.
See Table 1–3.
Unzip the file into a new directory.
Copy saml2.jar from unzip directory\saml2\lib to war staging dir\WEB-INF\lib.
Change to the unzip directory\saml2\samples\useCaseDemo directory.
Copy init.jspf to the war staging dir\samples\saml2\useCaseDemo.
This action will overwrite the earlier init.jspf.
Generate a new WAR from the war staging dir.
Redeploy the new WAR to your web container.