You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrei Shakirin (JIRA)" <ji...@apache.org> on 2012/12/02 13:57:58 UTC

[jira] [Created] (CXF-4668) STS: provide callback to modify AssertionWrapper before signing

Andrei Shakirin created CXF-4668:
------------------------------------

             Summary: STS: provide callback to modify AssertionWrapper before signing
                 Key: CXF-4668
                 URL: https://issues.apache.org/jira/browse/CXF-4668
             Project: CXF
          Issue Type: Improvement
          Components: Services
            Reporter: Andrei Shakirin


STS issues SAML Token using WSS4J to parse SAMLCallback object into SAML Assertion.
Actually STS issue operation doesn't provide callback to customize SAML Assertion directly.
Due some restrictions in WSS4J SAML representation (for example ConditionsBean doesn't support extensions, etc), it makes sense that user has possibility to modify/customize created SAMLToken before signing.
It can be done in method SAMLTokenProvider.createSamlToken(), callback's argument is AssertionWrapper.
Corresponded mail list discussion: http://cxf.547215.n5.nabble.com/Customizing-Conditions-in-CXF-STS-td5719270.html.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira