« Return to Thread: servlet question

servlet question

by dk-17 :: Rate this Message:

Reply to Author | View in Thread


Hello everyone,

I am trying to find whether sth is possible with RIFE or not.

Say I want to use a servlet like below
-----
public class Test extends HttpServlet
{
        public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
        {
                PrintWriter out = res.getWriter();

                out.println("Hello, world!");
                out.close();
        }
}
-----
which is fairly simple. I added this to web.xml and it works ok. I can
also put it under /admin/hello.

What I want to do is to use the authentication mechanism of RIFE so
that a user can not reach my servlet under /admin unless he is logged
in.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: servlet question

 
 
 
Google
rifers.org web