geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Chen <j...@chen.org.nz>
Subject Re: JAAS and OpenejbRemoteLoginModule
Date Thu, 10 Jan 2008 08:05:23 GMT
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
"A little learning is a dangerous thing but a lot of ignorance is
 just as bad."                                      - Bob Edwards

Mime
View raw message