Put breakpoints and follow the Shibboleth IDP

Manisha Sinha manishasinha70 at yahoo.com
Thu Aug 9 16:29:56 EDT 2012


Thanks Chad. I will try it.
 
Also, can you suggest where is like the starting point/package of the idp? I have seen the java doc. It is quite a big project. I need to understand the flow in different cases. Is there a class diagram/document of how and when the classes and methods are called?Please help.
 

________________________________
 From: Chad La Joie <lajoie at itumi.biz>
To: Shib Dev <dev at shibboleth.net> 
Sent: Thursday, August 9, 2012 12:48 PM
Subject: Re: Put breakpoints and follow the Shibboleth IDP
  
Yeah, I've done it before to diagnose problems.  The IdP is just a
webapp so just Google for how to perform remote debugging of webapps
in Eclipse (may even be in the eclipse manual itself)

On Thu, Aug 9, 2012 at 3:28 PM, Manisha Sinha <manishasinha70 at yahoo.com> wrote:
> Hi All,
>
> I am trying to understand the code of Shibboleth IDP. I have downloaded the
> code from SVN and imported the project in Eclipse-STS. I also have a idp.war
> deployed on tomcat.
>
> I have found that the best way to understand a code is to put breakpoints
> and watch the flow of the code and also get an idea of what values are being
> passed. I have done this in the past where I have deployed my war file on
> tomcat, have the project in the Eclipse (actually it was MyEclipse and I
> configured using MyEclipse externally launced Server in the Debug settings
> window) and then put breakpoints in the code. For example when a user enters
> the username and password and clicks Login button, the code would stop at
> the breakpoint where the authentication is done (assuming I have put a
> breakpoint at the right place). I find this a very neat way to
> debug/understand a web app.
>
> I want to do something similar to understand the IDP code. Has anyone tried
> this??
>
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net



-- 
Chad La Joie
http://www.itumi.biz/
trusted identities, delivered
--
To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20120809/767ebfb5/attachment.html 


More information about the dev mailing list