Added a method the following method to the SAML2AuthenticationHandler:
{code} protected void onAssertionCreated(SAML2HandlerRequest request, AssertionType assertion) { // custom logic goes here. change the assertion at your will } {code}
This method can be overrided by subclasses in order to perform any processing on the assertion issued by the IdP.
Users just need to write a class that extends the SAML2AuthenticationHandler type and configure it as a regular handler in picketlink.xml.
|