Skip to Content.
Sympa Menu

shibboleth-dev - RE: java SP implementation......

Subject: Shibboleth Developers

List archive

RE: java SP implementation......


Chronological Thread 
  • From: "Howard Gilbert" <>
  • To: <>
  • Subject: RE: java SP implementation......
  • Date: Thu, 24 Feb 2005 08:50:24 -0500

>
> i took the Java-Target .zip from the wikis file gallery, integrated it
> into eclipse and want to test it now. Eclipse told me, that the class
> AuthenticationFilter in the package
> edu.internet2.middleware.shibboleth.resource cannot be resolved.
> I can't find a package named like that.
>
> Is there a missing *.jar which has to be included.

There are two projects in the Eclipse workspaces and in the CVS. The
shib-filter project contains only the AuthenticationFilter class and the
FilterSupport interface. It doesn't depend on any other jar files including
any of the standard library jars. It is a separate project to ensure that no
dependencies develop and to create a separate jar file. The intent is for
the Filter to be used by other contexts in the same Tomcat that vend data or
program services.

The classes built by this project form shibfilter.jar and are put in
Tomcat's /shared directory. It is a requirement of the current design of the
filter that the same physical class be shared across contexts, so it has to
be in /shared and not in the separate WEB-INF directories where copies will
come from different classloaders.

At compile time, Eclipse can be configured to find the classes in a local
jar, or in the {tomcat}/shared/lib directory, or if you plan on doing some
editing you can simply make the output class directory of the filter project
be part of the compile time classpath of the shib project. If you are
working on OpenSAML, it is also useful to have it as a separate project,
remove opensaml.jar from the build path, and add the output build directory
where the opensaml project stores its classes after compiling. Then any
changes to source opensaml or the filter are automatically used in the
compile of the shib project that depends on them.

However, you still have to stop and make sure everything is up to date in
Tomcat before you start it and try to test things. Making this happen
automatically is a bit of Eclipse or Ant creativity.




Archive powered by MHonArc 2.6.16.

Top of Page