shibboleth-dev - RE: java SP implementation......
Subject: Shibboleth Developers
List archive
- 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.
- java SP implementation......, Steven Carmody, 02/02/2005
- Re: java SP implementation......, Tom Scavo, 02/23/2005
- <Possible follow-up(s)>
- Re: java SP implementation......, stefan . brandl, 02/22/2005
- Re: java SP implementation......, Will Norris, 02/23/2005
- RE: java SP implementation......, Scott Cantor, 02/23/2005
- Re: java SP implementation......, Will Norris, 02/23/2005
- Re: java SP implementation......, Stefan Brandl, 02/24/2005
- RE: java SP implementation......, Howard Gilbert, 02/24/2005
Archive powered by MHonArc 2.6.16.