Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-148

WebServiceTemplte needs two more methods in order to easy enable ws security client support

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0 M3, 1.0 RC1, 1.0 RC2
    • Fix Version/s: 1.5 M2
    • Component/s: Core
    • Labels:
      None
    1. WebServiceOperations.java
      18 kB
      Giovanni Cuccu
    2. WebServiceTemplate.java
      30 kB
      Giovanni Cuccu

      Issue Links

        Activity

        Hide
        giovanni.cuccu Giovanni Cuccu added a comment -

        Arjen, do you have some idea of the resulting classes? i.e. do you plan a new class with interceptors or to add interceptors to webservicetemplate? if you plan to modifiy webserviceTemplate how interceptors relate to callbacks? I'm very interested in this feature and I'd like to contribute one I know how to proceed.

        Show
        giovanni.cuccu Giovanni Cuccu added a comment - Arjen, do you have some idea of the resulting classes? i.e. do you plan a new class with interceptors or to add interceptors to webservicetemplate? if you plan to modifiy webserviceTemplate how interceptors relate to callbacks? I'm very interested in this feature and I'd like to contribute one I know how to proceed.
        Hide
        jpeterson Jeff Peterson added a comment -

        Giovanni,

        Please check out SWS-163. Hopefully it does what you are looking for.

        • Jeff
        Show
        jpeterson Jeff Peterson added a comment - Giovanni, Please check out SWS-163 . Hopefully it does what you are looking for. Jeff
        Hide
        giovanni.cuccu Giovanni Cuccu added a comment -

        This is the implementation of ws security on the client side. in the zip there is only the security module as of Arjen's request (http://forum.springframework.org/showthread.php?t=43632) the client code is attached to SWS-194.
        Here is what I've done.
        I refactored the abstract security interceptor into one base class and now there are two descending classes:
        AbstractClientWsSecurityInterceptor.java for client support
        AbstractEndpointWsSecurityInterceptor.java for server support
        the xwss implementation is refactored in a similar way
        BaseXwsSecurityInterceptor.java implements the xwss callbacks and
        ClientXwsSecurityInterceptor.java use it for client support while
        XwsSecurityInterceptor.java use it for server support.
        In this way the callback handlers are the same
        I think that XwsSecurityInterceptor sould be named EndpointXwsSecurityInterceptor but i didn't want to break any compatibility.
        I hope this is what you were looking for.

        Show
        giovanni.cuccu Giovanni Cuccu added a comment - This is the implementation of ws security on the client side. in the zip there is only the security module as of Arjen's request ( http://forum.springframework.org/showthread.php?t=43632 ) the client code is attached to SWS-194 . Here is what I've done. I refactored the abstract security interceptor into one base class and now there are two descending classes: AbstractClientWsSecurityInterceptor.java for client support AbstractEndpointWsSecurityInterceptor.java for server support the xwss implementation is refactored in a similar way BaseXwsSecurityInterceptor.java implements the xwss callbacks and ClientXwsSecurityInterceptor.java use it for client support while XwsSecurityInterceptor.java use it for server support. In this way the callback handlers are the same I think that XwsSecurityInterceptor sould be named EndpointXwsSecurityInterceptor but i didn't want to break any compatibility. I hope this is what you were looking for.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        See SWS-194

        Show
        arjen.poutsma Arjen Poutsma added a comment - See SWS-194
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing 1.5 M2 issues.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing 1.5 M2 issues.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            giovanni.cuccu Giovanni Cuccu
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: