Trust me, this is not the desired permanent solution, but a quick-fix for an
intranet area (not public). Normally I would not use CF for this. However,
the divisional intranet is done in CF, which includes the login to this
area. Most of the templates are CF, but we have a specific app in this
area that is a Java servlet - I wanted CF session wrapped around the servlet
calls using CFSERVLET instead of a direct http call to the servlet. Without
it, a user would have to log in twice, one to access the CF pages
(establishing the CF session), another to access the servlet (through
authentication set up in web app properties).
Otherwise, a user can access the servlet alias directly without login at any
time through http, and it's not hard to find out the direct http to it
regardless of how well you hide it.
This wouldn't be a problem for servlets with its own permanently-set init
parameters, except we have multiple aliases set up in the JMC that pass
different init parameters to the same servlet, depending on which alias is
called. You cannot call an named alias created in JMC through CFSERVLET,
only the base servlet itself.
(Using Windows authentication or security to the IP address to cover all
types of web applications on the server (CF, Java, etc) is not an option at
this time. Don't ask about that - it's another issue)
Again, this is a quick fix until I can find a better way to put both
environments under one security session.
Toby
> Date: Mon, 05 Jun 2000 10:26:51 +0100
> From: "S@njeevi" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: passing INIT parameters to servlet with CFSERVLET?
> Message-ID: <000001bfceec$68452970$[EMAIL PROTECTED]>
>
> Hi
> Just a clarification required.
> Why would you want to pass init parameters from your CF program.
> You can put them in the Servlet defination/aliases in the JMC itself and
> indicate there the intial parameters.
> So when you want to change you can change it there.
> I would assume that the CF program is a client and I would not want my
> client to handle the init parameters and take INIT values from the Client
> and set it.
> thanks
> regards
> Sanjeevi
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists