Put breakpoints and follow the Shibboleth IDP

Manisha Sinha manishasinha70 at yahoo.com
Thu Aug 9 16:46:13 EDT 2012


Is there a document that describes the flow of control from one class to another for different cases?

 

________________________________
 From: Chad La Joie <lajoie at itumi.biz>
To: Shib Dev <dev at shibboleth.net> 
Sent: Thursday, August 9, 2012 1:33 PM
Subject: Re: Put breakpoints and follow the Shibboleth IDP
  
Well, requests start at the profile handlers.  Probably the easiest
one is the Shibboleth SSO profile handler.  That's a request that
doesn't require a ton of upfront work to process and check.

On Thu, Aug 9, 2012 at 4:29 PM, Manisha Sinha <manishasinha70 at yahoo.com> wrote:
> 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
>
>
>
> --
> 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/fa96b3a1/attachment-0001.html 


More information about the dev mailing list