Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XWS - Programmatic UsernameToken

843834Jun 29 2004 — edited Oct 27 2004
Hi, all. I'm developing a multiuser web service client.

To implement authentication/authorization, I've been taking a look at the new WS-Security support in JWSDP 1.4. It looks good, but I'm unable to find a way to specify username/password combinations for the UsernameToken element at runtime.
I've only seen them provided at build-time to the wscompile ant target. This doesn't appear suitable for my application, which users would log into at runtime.

Is anyone able to confirm or refute this? Any alternative recommendations are also welcomed.

Thanks.
Justin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2004
Added on Jun 29 2004
6 comments
124 views