Re: How to debug in function AuthenticateToken()
From: Julie Lerman (jlermanATNOSPAMPLEASEthedatafarm.com)
Date: 10/06/04
- Next message: Julie Lerman: "Re: WHAT'S BEST OF SECURITY TOKEN ?"
- Previous message: Maksim Izbrodin: "Re: WSE2 Policy and PolicyEnforcementSecurityTokenCache"
- In reply to: Hervey Wilson [MSFT]: "Re: How to debug in function AuthenticateToken()"
- Next in thread: Shen: "Re: How to debug in function AuthenticateToken()"
- Reply: Shen: "Re: How to debug in function AuthenticateToken()"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 10:37:49 -0400
actually, it's not always so easy for some reason and I finally figured out
how to get it to work when it doesn't. The issue isn't this particular code
but just some wierdness with debugging into web services when you have a
windows forms project and the web service project loaded into the same
solution. Tryingn to start the debugger in the windows form and have it also
debug the web service is a little funky.
Here is an article on builder.com that explains how to ensure that you can
debug into the webservice code as well.
http://builder.com.com/5100-6373-5035019.html
Also, remember an important thing about that authenticatetoken function. It
gets hit before ANYTHING, since it is checking to see if you are even
allowed to hit the web service it self. So when you debug, you will go to
this functino before you go to the web method itself.
I definitely need to blog about this.
hope it helps
julie
"Hervey Wilson [MSFT]" <herveyw.nospam@nospam.microsoft.com> wrote in
message news:%23S6UqF3qEHA.3428@TK2MSFTNGP11.phx.gbl...
> Shen wrote:
> > I tried to set a breakpoint in AuthenticateToken() function for a class
> > inherited from UsernameTokenManager class, and it seems that the VS .NET
2003
> > will never hit that breakpoint.
> >
> > Also, I used Debug.WriteLine method, and it does not seem to work
either.
> >
> > How should I debug in function AuthenticateToken()?
> >
>
> See the earlier posting in this group called "Debug Into Custom
> UsernameTokenManager". Basically, you must ensure that Visual Studio has
> loaded the symbols for your token manager in order to have the
> breakpoint take effect.
>
>
> --
> This posting is provided "AS IS", with no warranties, and confers no
rights.
- Next message: Julie Lerman: "Re: WHAT'S BEST OF SECURITY TOKEN ?"
- Previous message: Maksim Izbrodin: "Re: WSE2 Policy and PolicyEnforcementSecurityTokenCache"
- In reply to: Hervey Wilson [MSFT]: "Re: How to debug in function AuthenticateToken()"
- Next in thread: Shen: "Re: How to debug in function AuthenticateToken()"
- Reply: Shen: "Re: How to debug in function AuthenticateToken()"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|