dcsimg
Servlets authentication
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ramesh_b
Posted On:   Sunday, March 10, 2002 11:36 PM

Hi, We r using JRun3.1 and for authentication purpose we wrote a servlet which authenticates user given values aganist database values.For this I did following changes I commented out #webapp.servlet-mapping./servlet=invoker in my global.properties and added my own custom servlet like this webapp.servlet-mapping./servlet=myinvoker myinvoker is extending allaire.jrun.servlet.Invoker in myinvoker I am doing some authentication, if authneticated I am creating servlet context object and then invoking the requeted servlet's service method..... but this is not working....even without authenticating it is giving requested servlet, infact it   More>>

Hi,
We r using JRun3.1 and for authentication purpose we wrote a servlet which authenticates user given values aganist database values.For this I did following changes

I commented out

			

#webapp.servlet-mapping./servlet=invoker

in my global.properties and added my own custom servlet like this
			

webapp.servlet-mapping./servlet=myinvoker



myinvoker is extending allaire.jrun.servlet.Invoker

in myinvoker I am doing some authentication, if authneticated I am creating servlet context object and then invoking the requeted servlet's service method.....



but this is not working....even without authenticating it is giving requested servlet, infact it is not going to myinvoker....


but if I extend invoker from HttpServlet

it is entering into myinvoker and then it is authnticating but failing to invoker the requested servlet's service method......

why it is like this?
show me some pointers...    <<Less
About | Sitemap | Contact