On Thu, Jan 10, 2008 at 02:41:57PM +1300, Jonathan Chen wrote:

[...]
> Any examples on the resultant JAAS configuration file would be
> appreciated.

Here's one for the archives: After several iterations of trial and error,
it looks like the following configuration will work:

    MyApp
    {
        org.apache.geronimo.openejb.OpenejbRemoteLoginModule required
            
org.apache.geronimo.openejb.OpenejbRemoteLoginModule.RemoteSecurityRealm="MyAppRealm"
            
org.apache.geronimo.openejb.OpenejbRemoteLoginModule.ServerURI="ejbd://localhost:4201";
    };

My only complaint is that the option-flag names are a bit of an
overkill. It'd be nice if it was just "RemoteSecurityRealm" and
"ServerURI".

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
----------------------------------------------------------------------
"A little learning is a dangerous thing but a lot of ignorance is
 just as bad."                                      - Bob Edwards

Reply via email to