Results 1 to 4 of 4

Thread: WS-Security with own siging logic

  1. #1
    Join Date
    Nov 2006
    Location
    The Netherlands
    Posts
    11

    Default WS-Security with own siging logic

    I have a backend service with the following services:
    - signing a message
    - validating a message signature

    I want (have to) to use the backend services to excute the signing and validating of a WS-Security webservice call.

    The only hook i could find in the signing mechanism is configuring my own CryptoProvider. However this option is not usable because i will never get the private key. (the private key is safely stored in the dep box)

    Does somebody know how to use my own siging services together with WS-Security?

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Are you sure you want WS-Signature? Or do you just want XML-DSIG? In the latter case, it's pretty easy to write an EndpointInterceptor which does that...
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3
    Join Date
    Nov 2006
    Location
    The Netherlands
    Posts
    11

    Default

    Do I have to write my own soap headers (like ds:signature element in the SOAP-ENV:Header element) with XML-DSIG?

  4. #4
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Not really. There is JSR 105 for XML DSig, see here http://java.sun.com/developer/techni...ig_signatures/ You can use that API, for instance. Or use http://xml.apache.org/security/
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •