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 / August 2005

Tip: Looking for answers? Try searching our database.

Code vs. Policy problem on WSE 3 client

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arif - 20 Jul 2005 20:51 GMT
I have a weird problem I am running into. I am using the
UsernameOverCertificate turnkey scenario with WSE 3.0. I am using a
CustomUsernameTokenManager class where I am overriding the AuthenticateToken
method so I can do custom authentication.

When I set the client to use a Policy file & intentionally provide a bad
password in the UsernameToken when calling the Web Service the authentication
does not fail as its supposed to. However, when I create the policy assertion
in code & turn off WSE Enable Policy it does work as thought - fails on bad
password & succeeds on good. My code creating the usernameovercertificate
assertion & the policy file are exactly similar.

Even on the WSE 3 QuickStarts, I can get the WSSecurityUsernameCode solution
to authenticate properly but not the WSSecurityUsernamePolicy solution to do
the same.

Any ideas?
Arif - 03 Aug 2005 20:35 GMT
It turns out the WSE 3 QuickStart example wasnt working (atleast in my case)
unless the password was sent hashed in the UsernameToken.

> I have a weird problem I am running into. I am using the
> UsernameOverCertificate turnkey scenario with WSE 3.0. I am using a
[quoted text clipped - 13 lines]
>
> Any ideas?

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.