When you deployed it to server, what user account did you use? Checking
the security policy on the server that you deployed server.  

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of Ming
Sent: Friday, December 10, 2004 2:04 PM
To: [EMAIL PROTECTED]
Subject: Authentication filter throws exception

I implemented an authentication filter to control users access to the
secure contents. It works fine on my local machine. However, when I run
it
on the server, the following exception throws from
chain.doFilter(request,
response) in the filter's doFilter method:

java.security.AccessControlException: access denied
(java.io.FilePermission
. read)

The servlet container I'm using on my own machine and the server are
both
Resin.

Any advise?

Thanks.

________________________________________________________________________
___
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