users@glassfish.java.net

Re: I do not understand JAAS and Glassfish...

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 15 Jun 2007 01:15:21 -0700

Hmmmm. I think it is appropriate to take help from GlassFish users.

I deployed the same JSPWiki release on a fresh build of GlassFish
and unfortunately, I am getting some other error that I am trying
to analyze. Can you send:
- the steps that you took.
- the error in server.log.

Mine is:

[#|2007-06-15T01:07:06.183-0700|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|JACC
Policy Provider: PolicyWrapper.implies, context(null)-
permission(("com.ecyrd.jspwiki.auth.permissions.AllPermission","TestWiki"))
domain that failed(ProtectionDomain
(file:/Users/kedar/Work/gf/publish/glassfish/domains/domain1/applications/j2ee-modules/JSPWiki/WEB-INF/lib/JSPWiki.jar
[
[
   Version: V1
   Subject: CN=Janne Jalkanen, OU=JSPWiki Code Signing Division, O=jspwiki.org, C=FI
   Signature Algorithm: SHA1withDSA, OID = 1.2.840.10040.4.3

   Key: Sun DSA Public Key
     Parameters:DSA
         p: fd7f5381 1d751229 52df4a9c 2eece4e7 f611b752 3cef4400 c31e3f80
b6512669
     455d4022 51fb593d 8d58fabf c5f5ba30 f6cb9b55 6cd7813b 801d346f f26660b7
     6b9950a5 a49f9fe8 047b1022 c24fbba9 d7feb7c6 1bf83b57 e7c6a8a6 150f04fb
     83f6d3c5 1ec30235 54135a16 9132f675 f3ae2b61 d72aeff2 2203199d d14801c7
         q: 9760508f 15230bcc b292b982 a2eb840b f0581cf5
         g: f7e1a085 d69b3dde cbbcab5c 36b857b9 7994afbb fa3aea82 f9574c0b
3d078267
     5159578e bad4594f e6710710 8180b449 167123e8 4c281613 b7cf0932 8cc8a6e1
     3c167a8b 547c8d28 e0a3ae1e 2bb3a675 916ea37f 0bfa2135 62f1fb62 7a01243b
     cca4f1be a8519089 a883dfe1 5ae59f06 928b665e 807b5525 64014c3b fecf492a

   y:
     61985e2b db509dc1 f3f9666e 9dca0093 d0eb7111 0211bb29 445c4631 70be0d0b
     600f3b48 57f7e3cd ac90871b e25b4cf1 abfb5f19 e4f8fdff fab213ef 5731fac2
     9dac0a65 52b68735 1e9d3be9 57783144 639ca4dc db2c1f4c 45137444 44641d75
     786e91b8 171e11aa 3bebd28a 8f572a20 4ae4b134 ef722c61 fad903e6 43728826

   Validity: [From: Fri Mar 02 09:35:56 PST 2007,
                To: Thu May 31 10:35:56 PDT 2007]
   Issuer: CN=Janne Jalkanen, OU=JSPWiki Code Signing Division, O=jspwiki.org, C=FI
   SerialNumber: [ 45e8607c]

]
   Algorithm: [SHA1withDSA]
   Signature:
0000: 30 2C 02 14 37 83 53 EC 47 39 1B 73 EE 7C 7E 39 0,..7.S.G9.s...9
0010: 89 78 04 31 86 22 DF 1C 02 14 5A CB CE 61 E3 F8 .x.1."....Z..a..
0020: 8F 73 70 E7 47 DA 5A D9 28 2C DE E0 4C F2 .sp.G.Z.(,..L.

])
  WebappClassLoader
   delegate: true
   repositories:
     /WEB-INF/classes/
----------> Parent Classloader:
EJBClassLoader :
urlSet = []
doneCalled = false
  Parent -> java.net.URLClassLoader_at_331fd8


  (principals com.ecyrd.jspwiki.auth.authorize.Role "Anonymous",
com.ecyrd.jspwiki.auth.WikiPrincipal "Guest",
com.ecyrd.jspwiki.auth.authorize.Role "All")



Jason Fordham wrote:
> ...and https://glassfish.dev.java.net/javaee5/security/faq.html#secmgr
> isn't helping me.
>
> What I'm trying to do is get JSPWiki v2.4.102 running in Glassfish
> (9.0_01 (build b02-p01)) on Solaris 10. I've tried a number of other
> combinations, but this is the combination that's got me furthest so far.
>
> But after an autodeploy and after configuring at
> http://localhost:8080/JSPWiki/Install.jsp, it won't let me log in to
> http://localhost:8080/JSPWiki: the generated admin user password is
> xQWYFPtY, and I get bumped out. After each login attempt the log says "
> Please double-check that JSPWiki found your 'jspwiki.jaas' file or the
> contents have been appended to your regular JAAS file", but during
> startup it says "JAAS already configured by some other application
> (leaving it alone...)". Well, I didn't do that. And I don't see anything
> in the server.log that says JAAS was configured.
>
> How do I fix this? Can you help? Can I send you a log file? Do you want
> to look at my configuration?
>
> Hope you can help!
>
> Regards
> Jason Fordham
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>