Check out
- HttpServletRequest.isUserInRole
- HttpServletRequest.getUserPrincipal

Also check out Suns Servlet Spec (2.2), especially chapter 11 "Security" and
chapter 13 "Deployment Descriptor" with paragraph 13.3.2 "An Example of Security"

If you are a tomcat user. Look into config\server.xml. There are two security
interceptors (one based on xml-file users.xml, another based on JDBC-Database)
preconfigured but commented out.

Peter


Brad Cox wrote:

> Simple. You read the manual. Like everyone else here did.
>
> At 6:44 PM -0400 7/15/01, Mike Peyvandi wrote:
> >Thanks Pierre for your complete answer.  Also thanks to Brad and Steven.
> >You mentioned session expires by default after 30 minutes.  How can I change
> >this and set it based on user profile?
>
> --
> For industrial age goods there were checks and credit cards.
> For everything else there is mybank.dom at http://virtualschool.edu/mybank
> Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--

*** Bitte beachten Sie unsere neuen Mail- und Internet-Adressen ***
*** Please notice the new mail- and internet-address            ***

--

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to