Professional Web Applications Themes

How to work with certificates and web services - Coldfusion - Advanced Techniques

Hi, Im evaluating Coldfusion MX 7 to start a new "big" project. I've been reading about using web services and Coldfusion but I have not seen any doentation on how to add security to these web services calls; I'm talking about ws-security. I mean, I can build a web service that asks the consumer for a x.509 certificate or some encryption within the call but Is there any way in Coldfusion Mx 7 to invoke this web service adding this kind of security : selecting a certificate from a cert pool, encrypting some parts of the call, creating custom headers, ...

  1. #1

    Default How to work with certificates and web services

    Hi,

    Im evaluating Coldfusion MX 7 to start a new "big" project. I've been reading
    about using web services and Coldfusion but I have not seen any doentation
    on how to add security to these web services calls; I'm talking about
    ws-security.

    I mean, I can build a web service that asks the consumer for a x.509
    certificate or some encryption within the call but Is there any way in
    Coldfusion Mx 7 to invoke this web service adding this kind of security :
    selecting a certificate from a cert pool, encrypting some parts of the call,
    creating custom headers, etc?

    Thanks all in advance

    R9N1

    R9N1 Guest

  2. #2

    Default Re: How to work with certificates and web services

    Yes, I would very much like to get some info on this as well. Thank you!

    Aaron
    aaron_wvr Guest

  3. #3

    Default Re: How to work with certificates and web services

    We use Apache Axis, which does have a plugin for WS-Security.

    See [url]http://ws.apache.org/ws-fx/wss4j/[/url]

    You can find the client deployment file, client-config.wsdd in the WEB-INF
    directory.

    The web service object returned from CreateObject() is the Axis "Stub"
    object, so you can call _setProperty() on it.

    --
    Tom Jordahl
    Macromedia Server Development



    Tom Jordahl Guest

  4. #4

    Default Re: How to work with certificates and web services

    Thanks Tom!

    Can you post some sample code?

    And can you explain how to this plugin works (at least briefly) with CFMX 7 (JRUN installation)?

    tia,

    Aaron
    aaron_wvr Guest

  5. #5

    Default Re: How to work with certificates and web services

    > Can you post some sample code?

    Nope. I have never done it. You may well be the first. :-)
    Sorry.
    > And can you explain how to this plugin works
    > (at least briefly) with CFMX 7 (JRUN installation)?
    Well, you can follow the Axis 1.2 tutorial on the WSS4J web site. You
    configure Axis to use the handler and since CFMX uses Axis, it will use the
    security handler. That handler will intercept the SOAP messages in and out
    and 'do the right thing'. You set properties before to invoke an operation
    and the handler uses them to (for instance) put the username/password token
    in to the request.

    Let us know how it goes!
    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

Similar Threads

  1. Can PHP work with Flex Data Services 2?
    By TankMan89 in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: April 17th, 04:39 PM
  2. web services only work in player
    By Ryan Bellerose in forum Macromedia Flash Data Integration
    Replies: 2
    Last Post: February 28th, 08:09 PM
  3. Curiousity- why Web Services dont work with firewall
    By Sumaira Ahmad in forum ASP.NET Web Services
    Replies: 1
    Last Post: November 5th, 08:00 AM
  4. Client Side Certificates for Web Services?
    By localhost in forum ASP.NET Security
    Replies: 3
    Last Post: October 28th, 08:48 AM
  5. SSL and certificates
    By Kevin in forum ASP.NET Security
    Replies: 2
    Last Post: December 24th, 08:54 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139