Re: UserNameToken with SendNone on Password
From: Softwaremaker (msdn_at_removethis.softwaremaker.net)
Date: 02/11/05
- Next message: William Stacey [MVP]: "Re: WSE 2.0 SP2: UsernameTokens must be encrypted to request SCT?"
- Previous message: Softwaremaker: "Re: WSE 2.0 SP2: UsernameTokens must be encrypted to request SCT?"
- In reply to: James Han***: "UserNameToken with SendNone on Password"
- Next in thread: James Han***: "Re: UserNameToken with SendNone on Password"
- Reply: James Han***: "Re: UserNameToken with SendNone on Password"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 14:55:33 +0800
James,
Grokking in the dark here: Have you set the usernametoken manager in the
config file ?
-- Thank you. Regards, William T (Softwaremaker) http://www.softwaremaker.net/blog ========================================= "James Han***" <~jamie@darwinconsulting.com> wrote in message news:OYDnq#tDFHA.2676@TK2MSFTNGP12.phx.gbl... > Ok, so I have been looking and looking for a solution that is simple and > eligent and easy to mainatain (see previous post) that replaces the WSE 1.0 > shared secret stuff. I have read through the post about using UserNameToken > and just not passing the password and thus both sides basically use the > password as the shared secret. > > However, I cannot get this to work. If I set it to SendNone with the > password, then I get an error telling me that the soap message encryption > isn't the same (basically that's the message). > > What am I doing wrong? > > I put the password into the constructor for the UserNameToken, and sendNone > and on the other side I've overriden the tolken manager and on > authentication I return the real password as plain text. > > Thanks! > > (Sidd: thanks for your comments, if MS had a nice sample for doing shared > secret correctly in the help or online all of this stuff would be solved and > I would be happy :)... sounds like there are a lot of others in here with > the same problem) > >
- Next message: William Stacey [MVP]: "Re: WSE 2.0 SP2: UsernameTokens must be encrypted to request SCT?"
- Previous message: Softwaremaker: "Re: WSE 2.0 SP2: UsernameTokens must be encrypted to request SCT?"
- In reply to: James Han***: "UserNameToken with SendNone on Password"
- Next in thread: James Han***: "Re: UserNameToken with SendNone on Password"
- Reply: James Han***: "Re: UserNameToken with SendNone on Password"
- Messages sorted by: [ date ] [ thread ]