dev@glassfish.java.net

Re: Unable to migrate a Tomcat 5.5 webapp to Glassfish

From: ronald monzillo <Ronald.Monzillo_at_Sun.COM>
Date: Mon, 19 Dec 2005 15:41:17 -0500

Felipe Gaścho wrote On 12/19/05 15:13,:
> another question:
>
> where can I found the "application specific policy file" in the
> Glassfish ? the type and the extension of this file is server dependent ?
>
Felipe,

under

.../publish/glassfish/domains/domain1/generated/policy/

there will be a directory created with a name derived from the
application name. depending on the complexity of the app there may be
multiple sub-directories (approximately per module). In the leave
directories, there will be a file called granted.policy (containing the
permissions granted to the app; as derived from the deployment descriptor).

There may also be a file called excluded.policy when this file is
present it containesr permission that are explicitly denied; the denies
overide the grants.

Ron

> the configuration files of cejug-classifieds are into the folder
> WEB-INF/jaas - because I“m reading and setting the values manually.
>
> I recognize now I was using the Tomcat in the unsafe way - but I want to
> use the security manager. Then I will study a bit more about security
> and also about security in Glassfish. Any guidance will be valuable.
>
> best regards,
>