WSS4J
  1. WSS4J
  2. WSS-226

Interoperability b/w Java consumer of .NET Web Service with WS-Security on WSE 2.0

    Details

      Description

      There is an issue with using WSS4J for Java Consumer calling .NET 2.0 Web Service with WS-Security.
      The default SecretKey size that is generated in WSS4J is 16 whereas .NET used 32

      I changed the UsernameToken class to generate the secretkey using 32 as the length and then it worked.
      This shoule be officially released in a version.

        Activity

        Pankaj gupta created issue -
        Hide
        Colm O hEigeartaigh added a comment -

        Can you attach a patch for this issue?

        Colm.

        Show
        Colm O hEigeartaigh added a comment - Can you attach a patch for this issue? Colm.
        Hide
        Gupta, Pankaj FBSI added a comment -

        Pankaj Gupta
        Fidelity Business Services India Pvt. Ltd.
        Technical Consultant
        Enterprise Services
        FIL India - Systems
        Direct : +91-9818135253
        External : +91-124-283 3000 xtn: 1554
        E-mail : pankaj.fbsi.gupta@fidelity.co.in

        Important :

        This e-mail, including any attachment(s) hereto, is intended only for
        the individual or entity to whom it is addressed. It may contain
        proprietary, confidential or privileged information or attorney work
        product belonging to Fidelity Business Services India Pvt. Ltd. (FBS
        India) or its affiliates. If you are not the intended recipient of this
        e-mail, or if you have otherwise received this e-mail in error, please
        immediately notify the sender via return e-mail and permanently delete
        the original mail, any print outs and any copies, including any
        attachments. Any dissemination, distribution, alteration or copying of
        this e-mail is strictly prohibited. The originator of this e-mail does
        not guarantee the security of this message and will not be responsible
        for any damages arising from any dissemination, distribution, alteration
        or copying of this message and/or any attachments to this message by a
        third party or as a result of any virus being passed on. Any comments or
        statements made in this are not necessarily those of FBS India or any
        other Fidelity entity. All e-mails sent from or to FBS India may be
        subject to our monitoring and recording procedures.

        Show
        Gupta, Pankaj FBSI added a comment - Pankaj Gupta Fidelity Business Services India Pvt. Ltd. Technical Consultant Enterprise Services FIL India - Systems Direct : +91-9818135253 External : +91-124-283 3000 xtn: 1554 E-mail : pankaj.fbsi.gupta@fidelity.co.in Important : This e-mail, including any attachment(s) hereto, is intended only for the individual or entity to whom it is addressed. It may contain proprietary, confidential or privileged information or attorney work product belonging to Fidelity Business Services India Pvt. Ltd. (FBS India) or its affiliates. If you are not the intended recipient of this e-mail, or if you have otherwise received this e-mail in error, please immediately notify the sender via return e-mail and permanently delete the original mail, any print outs and any copies, including any attachments. Any dissemination, distribution, alteration or copying of this e-mail is strictly prohibited. The originator of this e-mail does not guarantee the security of this message and will not be responsible for any damages arising from any dissemination, distribution, alteration or copying of this message and/or any attachments to this message by a third party or as a result of any virus being passed on. Any comments or statements made in this are not necessarily those of FBS India or any other Fidelity entity. All e-mails sent from or to FBS India may be subject to our monitoring and recording procedures.
        Gupta, Pankaj FBSI made changes -
        Field Original Value New Value
        Attachment WSConstants.java [ 12442188 ]
        Hide
        Colm O hEigeartaigh added a comment -

        What I'll do here is leave the default as 16 for backwards compatiblity, and add a configuration option to change the size of the derived key.

        Colm.

        Show
        Colm O hEigeartaigh added a comment - What I'll do here is leave the default as 16 for backwards compatiblity, and add a configuration option to change the size of the derived key. Colm.
        Colm O hEigeartaigh made changes -
        Assignee Ruchith Udayanga Fernando [ ruchith ] Colm O hEigeartaigh [ coheigea ]
        Fix Version/s 1.5.9 [ 12314133 ]
        Fix Version/s 1.6 [ 12313718 ]
        Affects Version/s 1.5.8 [ 12313880 ]
        Affects Version/s 1.5.4 [ 12313167 ]
        Hide
        Colm O hEigeartaigh added a comment -

        I merged a configuration option to specify the WSE secret key length - WSHandlerConstants.WSE_SECRET_KEY_LENGTH.

        Colm.

        Show
        Colm O hEigeartaigh added a comment - I merged a configuration option to specify the WSE secret key length - WSHandlerConstants.WSE_SECRET_KEY_LENGTH. Colm.
        Colm O hEigeartaigh made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Colm O hEigeartaigh made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Colm O hEigeartaigh
            Reporter:
            Pankaj gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development