Any documents for how to build the shib idp from the source code and how to run and debug the idp?

Yaowen Tu yaowen.tu at gmail.com
Tue Oct 16 21:33:27 EDT 2012


Thanks all. I trying to changing some code and redeploying the project.

What I have done:
1. Added a logging in UsernamePasswordLoginHandler.java
2. cd to "java-shib-idp2"(not the java-shib-idp2-main folder)
3. Ran: mvn -P release -DskipTests install

The wiki says all the generated file is under "target" folder. I do see the
jar files and bunch of other folders.

What I am looking for is the "war" file which I can directly deploy to the
Tomcat environment.

Can you tell me where can I get this war file, or what else I need to do to
re-generate the war file?

It looks like I need to copy some jars to the original IDP install
location, and re-run the install script. Is that correct? Is the new
shibboleth-identityprovider-2.3.8.jar(I only changed
UsernamePasswordLoginHandler.java file) the only jar I need to copy? or
anything else? I don't want to get messed up, so I am asking here first.


Thanks,
Yaowen


On Tue, Oct 16, 2012 at 8:45 AM, Christopher Bongaarts <cab at umn.edu> wrote:

> On 10/15/2012 4:54 PM, Paul Hethmon wrote:
> > I follow what I learned from Kernighan and Ritchie long ago, use printf.
> > Or in this case, make use of the extensive and easily controlled logging
> > using logback.
> >
> > The code is complex, you could spend hours stepping through a debugger.
> > Instead, turn up the debug level to TRACE and see how many gigabytes of
> > data one request can create. If you don't see something, then add some
> > debugging statements and recompile.
>
> This is what we have done as well (though using DEBUG not TRACE ;)
>
> Also, I found it helpful to use an editor like Eclipse that will let you
> easily jump from the invocation of a  function/method/etc. to its
> definition.  This is helpful when, for example, learning the flow of the
> AuthnEngine.
>
> --
> %%  Christopher A. Bongaarts   %%  cab at umn.edu          %%
> %%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
> %%  University of Minnesota    %%  +1 (612) 625-1809    %%
> --
> 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/20121016/d7bdc2a1/attachment.html 


More information about the dev mailing list