Question :
In order to reduce the risk of bad SAML Assertions arriving at the Policy Server, I would like to know how the size of the Assertion is verified at the Assertion Consumer in the Web Agent Option Pack? What is the default size limit and where can we change it?
Answer :
The size of an Assertion is never verified at the Assertion Consumer from the Web Agent Option Pack. More, there is no default size limit, for the simple reason that the size of the assertion/response may vary. Consider a scenario where Identity Provider wants to add more attributes, or wants to do some other changes, like encrypting the response with some other algorithms, or using a digital signature. Hence, keeping an upper limit would discard that valid assertion as well, which is never recommended.