Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2005

Tip: Looking for answers? Try searching our database.

Authentication fail using username/pwd under WSE 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jim - 08 Jul 2005 17:10 GMT
Hi All,

The Web Service client use authentication of username and pwd under WSE 2.0.
It want WSE to authenticate the UsernameToken against Active Directory. So, I
provide the userId/Pwd of a windows account, but WSE returned below error:

Microsoft.Web.Services2.Security.SecurityFault: The security token could not
be
authenticated or authorized
  at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.OnLogonUserFa
iled(UsernameToken token)
  at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.LogonUser(Use
rnameToken token)
  at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.AuthenticateT
oken(UsernameToken token)
  at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyToken(S
ecurityToken securityToken)
  at
Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecuri
tyToken(XmlElement element)
  at
Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFromX
ml(XmlElement element)
  at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement
element, Se
curityConfiguration configuration, Int32& tokenCount)
  at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
  at
Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEn
velope envelope)
  at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope
envelope
)
  at
Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapS
erverMessage message)

Anybody have any idea on these would be appreciated.

Thanks,
Jim
Yedu - 11 Jul 2005 20:00 GMT
Jim,
Make the username that you are passing has the domain name appended to it.
like: <Domain Name>/<userName>

> Hi All,
>
[quoted text clipped - 41 lines]
> Thanks,
> Jim

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.