picketlink2 / federation

PicketLink v2.1.x Federation. PicketLink v2.5.x onwards is hosted at https://github.com/picketlink
http://www.picketlink.org
14 stars 29 forks source link

PLFED-311 Remove signature related code from valves and processors and use handlers to deal with signatures #47

Closed mposolda closed 12 years ago

mposolda commented 12 years ago

Summary of my changes:

if (supportSignature && isErrorResponse) { // Sign the document ... }

I tested with Picketlink quickstarts applications (employee, employee-sig, idp, idp-sig, sales-post, sales-post-sig). I changed quickstarts applications. On both "IDP" and "SP" side now needs to be handlers SAML2SignatureGenerationHandler and SAML2SignatureValidationHandler added into configuration.