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

Tip: Looking for answers? Try searching our database.

Problem with MSDN drilldown sample code - Security policy

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 02 May 2005 16:26 GMT
I downloaded MSDN WSE 2.0 drilldown sample code and tested in my local host.
After some configuration and setting, I finally made most of sample code
worked. However, there is one I could not make it run properly - Security
Policy sample.
When I ran it, I got exception that says: <UserPassword> was not expected a
child element of <Claims>. I looked at policyUsername.config file and found
that it looks like missing some prefex tag in frond of <UserPassword> - see
below:
<wssp:SecurityToken>            
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</wssp:TokenType>
           <wssp:Claims>
             <wse:Parent>
               <wssp:SecurityToken>
                 
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1
.0#UsernameToken</wssp:TokenType
>
                 <wssp:Claims>
                   <wssp:SubjectName
MatchType="wssp:Exact">joeblow</wssp:SubjectName>
                   <UsePassword Type="wsse:PasswordText"
wsp:Usage="wsp:Required" />
                  </wssp:Claims>
               </wssp:SecurityToken>
             </wse:Parent>
           </wssp:Claims>
         </wssp:SecurityToken>
So I change <UserPassword> ... </UserPassword> to
<wsse:UsePassword Type="wsse:PasswordText"
wsp:Usage="wsp:Required">NoTelinNE1</wsse:UsePassword>  based on the article
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/wsse
cdrill.asp
).  I still got the same eror.

Would someone help to fix this?

Thanks

John
John - 03 May 2005 20:42 GMT
Is someone from Microsoft who can help for this question on WAE drilldown
sample code?

I thought as a msdn subscriber, I can get my questions anwsered, is it true?

Thanks

John

> I downloaded MSDN WSE 2.0 drilldown sample code and tested in my local host.
> After some configuration and setting, I finally made most of sample code
[quoted text clipped - 31 lines]
>
> John

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.