Re: Security not recognising codebase...

Michael Weller <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <002d01c2ecc2$a497fd70$2807b9d9@gutschimachine>
> I have a bean whose methods are called from a JSP page.
>
> Im trying to set up the catalina.policy file to allow very specific
> read/write access for my bean.
>
> It is not recognising, or reading/writing to either the Codebase I give
it,
> or the directories i want it to read/write in, no matter what I try and
> write!!
>
> I was wondering, should the codebase be the http address of my JSP page,
or
> the directory path to my bean?

Two minutes of googling (see [1] and [2]) brought up [3] which is IMO
exactly what you want.
Always remember: Google is your friend!

-mw

[1]
http://www.google.de/search?q=java+policy+docs&ie=UTF-8&oe=UTF-8&hl=de&meta=
[2]
http://www.google.de/search?hl=de&ie=UTF-8&oe=UTF-8&newwindow=1&q=java+polic
y+examples&meta=
[3]
http://java.sun.com/products/jdk/1.2/docs/guide/security/permissions.html#Fi
lePermission

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.