473,805 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WS-Security Tokens for Doaim\Username and Password

I'm working on a web service and I need to pass in user information for
authentication. The service needs to meet the WS-Security specification.

I need to support two types of authentication for now. The types are:
1) Basic Username & Password
2) Windows user consisting of Domain, Username and Password.

For type 1 I know I need to use the UsernameToken XML like this.
<wsse:Securit y>
<wsse:UsernameT oken>
<wsse:Username> Zoe</wsse:Username>
<wsse:Password> ILoveDogs</wsse:Password>
</wsse:UsernameTo ken>
</wsse:Security>
</wsse:Security>

what token type do I need to use for the 2nd type? Do I create my own custom
token? Do I use UsernameToken and just embed the domain in the Username
element?

Thanks for the help.
--
Andre

Nov 23 '05 #1
0 1261

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4962
by: John Jenkins | last post by:
Does anyone have any introductory references to either WS-Addressing, or WS-Eventing, with perhaps worked examples?? Thanks
1
1304
by: Michael O'Neill | last post by:
I am new to .NET, but not new to WS or development. I am eager to use VB.NET as a (relatively) rapid WS development tool. One of the .NET features that helps accomplishing that is the the canned testing architecture while developing a WS. I have my environment (WindowsXP Pro, IIS 5.1, VB.NET 2003) working smoothly. The WS I create work perfectly fine (from other .NET applicatons). Unfortunately, when I use the Debug->Start and click...
0
2061
by: Stefan Lischke | last post by:
Hi, I'm really desperate using code generation(wsdl.exe) from wsdl files for latest WS-Eventing(including WS-Addressing) Specs. I'm writing my diploma about "publish subscribe systems based on Web Services" I took the WS-Eventing WSDL file and added <binding>'s and <service>'s... Then i took the apache axis wsdl2java tool and i got nice
1
1317
by: Ken | last post by:
hi I have an Async WS updating my SQLserver DB 80 clients are connecting to the WS all day updating the DB I have only ONE UPDATE instruction in the WS I dont want to have conflicts with the data and I realy need to take care of this my question:
2
3507
by: SB | last post by:
Can someone please tell me Microsoft .NET's position on this WS-Notification specification that includes the pub/sub model? Is there something in the pipeline or already available as part of the .NET or WSE? -- Kind regards, SB
0
1002
by: Guhanath | last post by:
Hi all, We are developing 2 .Net WS that has to be deployed in 2 different servers.Say one is a intermediate server WS(intServer IP),other is DB server WS(DBserverIP). A java client,say a JSP has to be deployed in another server(JavaServer IP) which has to access the intermediate server WS,which inturn contacts db server WS and the results should reach java client. I have made a simple java application and i'm able to retrieve the XML
0
1335
by: gerritmitchell | last post by:
Hi, I have a situation where I need to send a SOAP message from a receiver through multiple intermediaries and then to an ultimate receiver. The intial sender will tell the intermediary where to send the message to next within the service chain. SOAP targeted headers and SOAP roles seem to suppor this quite well. My question is can this be used in conjunction with WS-Addressing? Meaning can I send a WS-Addressing compliant message...
1
4098
by: =?Utf-8?B?dWx0cmFuZXQ=?= | last post by:
We have a client that uses .Net that needs to work against our Java (xfire) based WS. My question is: how can a .Net (C#) WS client be configured to not send WS-Addressing headers? The client in particular mentions having tried WSE 2.0, and WSE 3.0, and says there is no way to turn off WS-Addressing in a WS client, using those frameworks. I find that very hard to believe. There appears to be a problem w/ WS-Addressing headers in the...
1
1344
by: dburkinshaw | last post by:
I have a strange issue here. I created an exe that calls a Web Service that I also created. When I run in debug mode the WS is called and does its thing. When I run in release mode (through Visual Studio) the WS is called and does its thing. I then created the install for the project, installed it and ran it. The WS gets called only if Visual Studio is running. Why would this be? The executable is in release mode and has the config file...
4
8291
by: mathieu | last post by:
Hi, I am having a hard time understanding how to use std::ws. I am trying to parse a simple string (*). My goal would be that 'st' contains 'Hello World'. I thought that using std::ws would indeed do what I was looking for. Thanks for suggestion, -Mathieu
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10361
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10103
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9179
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7644
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5676
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.