Getting a refernce to a server...
"Durgadatt R. Kamath" <[email protected]> Thu, 30 Jan 2003 23:56:09 -0500 (EST)
| Newsgroups | gmane.comp.web.jigsaw |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. ------_=_NextPart_001_01C2C8E5.084FD42C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi All, =20 Iam fairly new to Jigsaw... =20 I wanted to use Jigsaw's realm to authenticate users...To retrieve the = realm catalog, as far as I know, one needs to get a referene to the = server... =20 I know the following paths are possible... 1. Within a servlet I can use GetServletContext() to retrieve a = reference to the server via getServer()... 2. Using GenericAuthFilter - the sources show how to get the catalog... =20 If for any reason, I wish not to use the above two routes, and wish to = get a reference to the server to get to the realms catalog, is there any = other alternative path? =20 pls. help... regards Durgadatt R Kamath=20 =20 ------_=_NextPart_001_01C2C8E5.084FD42C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4727.700" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>hi=20 All,</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>Iam = fairly new to=20 Jigsaw...</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>I = wanted to use=20 Jigsaw's realm to authenticate users...To retrieve the realm catalog, as = far as=20 I know, one needs to get a referene to the server...</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>I = know the=20 following paths are possible...</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>1. = Within a=20 servlet I can use GetServletContext() to retrieve a reference to the = server via=20 getServer()...</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>2. = Using=20 GenericAuthFilter - the sources show how to get the=20 catalog...</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>If = for any reason,=20 I wish not to use the above two routes, and wish to get a reference to = the=20 server to get to the realms catalog, is there any other alternative=20 path?</FONT></SPAN></DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D014415004-31012003><FONT face=3DVerdana size=3D2>pls. = help...</FONT></SPAN></DIV> <P><B><FONT face=3DVerdana color=3D#000080 = size=3D2>regards</FONT></B><BR><B><FONT=20 face=3DVerdana color=3D#000080 size=3D2>Durgadatt R Kamath</FONT></B> = </P> <DIV> </DIV></BODY></HTML> ------_=_NextPart_001_01C2C8E5.084FD42C--