Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] Problem with tomcat auth & grouper

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] Problem with tomcat auth & grouper


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Gary Chapman <>, Grouper Dev <>
  • Subject: RE: [grouper-dev] Problem with tomcat auth & grouper
  • Date: Wed, 23 Apr 2008 00:10:03 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

Btw, I assume you are referring to the web.xml and the UI... the grouper web
service webapp also has a web.xml... and since it isn't struts it is a
little different.

I added more information to that section of the wiki. Do you have specific
questions?

https://wiki.internet2.edu/confluence/display/GrouperWG/Customising+the+Grouper+UI#CustomisingtheGrouperUI-web.xml

A web application web.xml file is a key configuration file and any site
wishing to customise the Grouper UI will need to modify it. The web.xml is a
J2EE deployment descriptor which configures the Servlets (how URLs are mapped
to Java classes), the filters (pre/post logic around servlets), j2ee security
(if not done in apache or somewhere else), listeners (for j2ee events),
custom tag libraries (how some tags in JSPs map to java classes), etc.
Things you might need to customize are filters (e.g. a new way to do
authentication / authorization), security (do you want the servlet container
to manage authentication / authorization?), custom tag libraries (are you
using a new library in JSP extensions?), etc.

Chris

> -----Original Message-----
> From: Gary Chapman
> [mailto:]
> Sent: Tuesday, April 22, 2008 11:14 PM
> To: Grouper Dev
> Subject: Re: [grouper-dev] Problem with tomcat auth & grouper
>
> Is there a place where use of web.xml in conjunction with Grouper is
> documented?
> Haven't seen much beyond mention in the "Customising the Grouper UI"
> wiki page.
>
>
> GW Brown, Information Systems and Computing wrote:
> > Hi Owen,
> >
> > I did make some changes to how errors are handled in 1.3.0. I tried
> and
> > failed to get a nice looking 401 error page if someone failed to
> enter
> > credentials so this may account for the change in behaviour. I'll
> take
> > another look but I may end up removing the error-page config if I
> can't
> > find a proper solution.
> >
> > Gary
> >
> > --On 22 April 2008 12:40 +0100 Owen Cliffe
> > <>
> wrote:
> >
> >> Owen Cliffe wrote:
> >>> Hi, I've just started testing with grouper 1.3.0 RC1 and I've been
> >>> experiencing a problem with tomcat auth which has got me scratching
> my
> >>> head.
> >>>
> >> Have stopped scratching, this appears to be a known problem with
> some
> >> versions of tomcat
> >> :https://issues.apache.org/bugzilla/show_bug.cgi?id=42409 when
> custom
> >> error pages are used.
> >>
> >> For now a workaround was commenting the 401 error page from
> web.core.xml
> >>
> >> <!-- <error-page>-->
> >> <!-- <error-code>401</error-code>-->
> >> <!-- <location>/error.do?code=401</location>-->
> >> <!-- </error-page>-->
> >>
> >> I presume that if this isn't a problem for other people that it is
> fixed
> >> in a later version of tomcat.
> >>
> >> Thanks anyway,
> >> --Owen
> >> --
> >> Owen Cliffe Systems & Networks Administrator
> >> Bath University Computer Services University of Bath
> >> Tel: 01225 386047
> >
> >
> >
> > ----------------------
> > GW Brown, Information Systems and Computing
> >



Archive powered by MHonArc 2.6.16.

Top of Page