just saw the following in Jason Hunter's
http://www.javaworld.com/javaworld/jw-10-1999/jw-10-servletapi_p.html:
out.println("The current user is: " + req.getUserPrincipal());
out.println("Is the user a Manager? " + req.isUserInRole("Manager"));
out.println("Is our connection secure? " + req.isSecure());
how do you set the UserPrincipal(), set one or more roles
(.isUserInRole("Manager")) and set a page as secure?
any short examples?
thanx ahead of time
jf
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets