Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Server Side - Sender Encryption Question: msg#00299

apache.webservices.fx.devel

Subject: Re: Server Side - Sender Encryption Question

Richard,

well, if you spend the effort to maintain all your client's certs
you can do it, but with the help of your Web Service.

When receiving a request (signed or using UsernameToken) your
web service can determine which client sent it (see some info
in FAQ). Using this information you can setup the name (alias)
to use for encryption (can be done programmatically). If
you do so just don't specify this parameter in the server's
WSDD file.

Examples how to setup parameters dynamically can be found
in the testcases (test/interop/TestJAXRPCHandler).

Regards,
Werner

Richard Wareing wrote:
> Hi Abdul,
>
>
>
> Thanks for the response. The solution looks quite elegant, however
> won’t using the useReqSigCert feature on the server’s WSDoAllSender
> cause the sender to encrypt using the same public key used to verify the
> requesters signature? I was reading that it is best to use separate
> key-pairs for signing & encryption (Ref:
> http://www.washington.edu/computing/windows/issue22/encryption.html; see
> “Keys, Keys, and More Keys” ).
>
>
>
> That said, what is everyone’s experience with this, is it overkill to
> complicate key management for the benefits they cite?
>
>
>
> Regards,
>
>
>
> Richard Wareing
>
> Reimer Technology Group
>
>
>
>
>
> -----Original Message-----
> *From:* Abdul Ashik
> [mailto:abdul.ashik-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx]
> *Sent:* 2005 September 29 2:18 PM
> *To:* Richard Wareing
> *Cc:* Apache WSS4J-Dev Mailing List
> *Subject:* Re: Server Side - Sender Encryption Question
>
>
>
> Hi Richard,
>
> Check out the WSS4J FAQ:
>
> http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ#many
>
> "To perform response encryption set the encryption user name to
> "useReqSigCert". This is a special name that directs the WSDoAllSender
> handler to use the stored client's certificate (the clients public key)
> to perform response encryption."
>
> Cheers,
> Ash
>
> On 9/29/05, *Richard Wareing* <wareing-y0/d7ZP22M8@xxxxxxxxxxxxxxxx
> <mailto:wareing-y0/d7ZP22M8@xxxxxxxxxxxxxxxx>> wrote:
>
> Is there a method of having the client request a particular encryption
> key be used to encrypt the response data?
>
> What I'm trying to do here is have each web service user submit to us
> their public encryption key and use that to encrypt the data back to
> them (in conjunction with signing). In other words, depending on the
> particular user that might be using the web service, we would use a
> specific public key to encrypt data back to them.
>
> Is there a way to accomplish this?
>
> Richard Wareing
> Reimer Technology Group
>
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> wss4j-dev-unsubscribe-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
> <mailto:wss4j-dev-unsubscribe-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx>
> For additional commands, e-mail:
> wss4j-dev-help-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
> <mailto:wss4j-dev-help-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx>
>
>
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation