https://issues.apache.org/bugzilla/show_bug.cgi?id=43214


Mark Thomas <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-05-01 15:57:12 PST ---
This looks to be as designed to me. You have updated the default Realm after
you create the engine. You need to do things the other way around.

embeddedCatalina.setRealm() sets the default realm for new components. You
don't need to set the appName - it should be set as a result of the call to
engine.setRealm() in Embedded.createEngine()

You could also create your Realm and add it directly to the new Engine.

As far as I can tell from reading the code, adding a JAASRealm to any container
will result in the JAASRealm taking on the name of the container as returned by
Container.getName()


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to