users@glassfish.java.net

Re: JDBC realm, how GlassFish knows which group belongs to which user?

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Tue, 29 Mar 2011 07:40:54 +0200

Hi Arthur

Can someone help Arthur on points 1 and 3 please.

On 28 March 2011 20:50, Arthur Yeo <artyyeo_at_gmail.com> wrote:

> All,
> I have included one of the Server's log. Three things I do not understand
> are these:
>
> 1. why is there file:/ep/ep <no signer certificates> I thot GF comes
> with a pre-installed CERT. SSL seems to be working fine between the browser
> and the Jersey service.
> 2. why am I seeing "java.io.FilePermission
> G:\glassfishv3.01\glassfish\domains\domain1\lib\databases\- delete)
> (java.io.FilePermission C:\Users\ARTHUR~1\AppData\Local\Temp\\- delete)" in
> there? I thot stuffs are stored in the DB, why is there a File operation?
>
> Perhaps the directory is locked ?
do you have the folder open in Windows ?




>
> 1. why is there a security.CORBAObjectPermission in there? Is CORBA
> used internally to implement the security component?
>
> ------------------ Error message --------------------------------
> Message ID
> JACC Policy Provider
> Complete Message
> PolicyWrapper.getPermissions(cs), context (ep/ep) codesource ((file:/ep/ep
> <no signer certificates>)) permissions: java.security.Permissions_at_54a96023( (javax.management.MBeanPermission [com.sun.messaging.jms.*:*] *)
> (java.util.PropertyPermission line.separator read)
> (java.util.PropertyPermission java.vm.version read)
> (java.util.PropertyPermission java.vm.specification.version read)
> (java.util.PropertyPermission java.vm.specification.vendor read)
> (java.util.PropertyPermission java.vendor.url read)
> (java.util.PropertyPermission java.vm.name read)
> (java.util.PropertyPermission * read,write) (java.util.PropertyPermission
> os.name read) (java.util.PropertyPermission java.vm.vendor read)
> (java.util.PropertyPermission path.separator read)
> (java.util.PropertyPermission java.specification.name read)
> (java.util.PropertyPermission os.version read) (java.util.PropertyPermission
> os.arch read) (java.util.PropertyPermission java.class.version read)
> (java.util.PropertyPermission java.version read)
> (java.util.PropertyPermission file.separator read)
> (java.util.PropertyPermission java.vendor read)
> (java.util.PropertyPermission java.vm.specification.name read)
> (java.util.PropertyPermission java.specification.version read)
> (java.util.PropertyPermission java.specification.vendor read)
> (javax.management.MBeanTrustPermission register)
> (javax.security.auth.PrivateCredentialPermission
> javax.resource.spi.security.PasswordCredential * "*" read)
> (java.lang.RuntimePermission getClassLoader) (java.lang.RuntimePermission
> loadLibrary.*) (java.lang.RuntimePermission accessDeclaredMembers)
> (java.lang.RuntimePermission getProtectionDomain)
> (java.lang.RuntimePermission modifyThreadGroup) (java.lang.RuntimePermission
> stopThread) (java.lang.RuntimePermission setContextClassLoader)
> (java.lang.RuntimePermission queuePrintJob) (java.io.FilePermission <<ALL
> FILES>> read,write) (java.io.FilePermission
> G:\glassfishv3.01\glassfish\domains\domain1\lib\databases\- delete)
> (java.io.FilePermission C:\Users\ARTHUR~1\AppData\Local\Temp\\- delete)
> (unresolved javax.security.jacc.WebUserDataPermission /* !GET,POST)
> (unresolved javax.security.jacc.WebUserDataPermission /*
> GET,POST:CONFIDENTIAL) (unresolved
> com.sun.corba.ee.impl.presentation.rmi.DynamicAccessPermission access null)
> (unresolved javax.security.jacc.WebResourcePermission /* !GET,POST)
> (unresolved com.sun.enterprise.security.CORBAObjectPermission * *)
> (java.net.SocketPermission localhost:1024- listen,resolve)
> (java.net.SocketPermission * connect,resolve) )
>

<snip>

regards
Richard