Check this out

http://courses.coreservlets.com/Course-Materials/07-Security-Declarative.pdf

Cheers
Sachin Pandey
NUIX Pty Ltd
Level 8, 143 York Street,
Sydney 2000
Phone: (02) 92839010
Fax: (02) 92839020

Disclaimer:
This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing,copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited.
----- Original Message -----
From: "Sachin Pandey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 5:45 PM
Subject: Re: adding security to specific servlets


> You can do it in declaratively via web.xml using Authentication Services
for
> the particular app server.
>
> Use can use FORM or BASIC mode of authentication.
>
> Check out  <security-constraint>,  <login-config> and  <security-role>
> elements for web.xml
>
> Cheers
> Sachin Pandey
> NUIX Pty Ltd
> Level 8, 143 York Street,
> Sydney 2000
> Phone: (02) 92839010
> Fax: (02) 92839020
>
> Disclaimer:
> This message is intended only for the named recipient. If you are not the
> intended recipient you are notified that disclosing,copying, distributing
or
> taking any action in reliance on the contents of this information is
> strictly prohibited.
> ----- Original Message -----
> From: "randie ursal" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 20, 2002 1:52 PM
> Subject: adding security to specific servlets
>
>
> > hi,
> >
> >    does anyone have an idea on how i will implement this.
> >
> >    here is the scenario,  i want that a particular resources of my web
> > app will not be accesible
> >    if you are not administrator, because if somebody knows the URL for
> > my web app
> >    resources like my servlet, he can just type the complete URL then he
> > has access to it.
> >
> > thanks in advance
> >
> >   randie
> >
> >
>
___________________________________________________________________________
> > 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
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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