Class SignatureConfirmationFilter


  • public class SignatureConfirmationFilter
    extends Object
    Process SignatureConfirmation: Add SignatureConfirmation or verify received SignatureConfirmation
    Author:
    Ashutosh.Shahi@sun.com
    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • SignatureConfirmationFilter

        public SignatureConfirmationFilter()
    • Method Detail

      • process

        public static void process​(FilterProcessingContext context)
                            throws com.sun.xml.wss.XWSSecurityException
        If the message is incoming,gets the all SignatureConfirmation security headers and check if each of the values is present in the SignatureConfirmation property of context.Extraneous properties also make sure that all the values in SignatureConfirmation are exhausted. If the message is outgoing checks for the property receivedSignValues in context's extraneous properties and if it is not null, add a SignatureConfirmation Header for each of the values in the property
        Parameters:
        context - FilterProcessingContext
        Throws:
        com.sun.xml.wss.XWSSecurityException