users@glassfish.java.net

Re: Remote authentication using maven-embedded-glassfish-plugin: so close!

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Fri, 5 Aug 2011 09:47:35 -0400

On Fri, Aug 5, 2011 at 1:07 AM, Kumar Jayanti
<v.b.kumar.jayanti_at_oracle.com>wrote:

> When authenticating a Remote EJB the Client has to use a specific
> LoginModule configuration java.security.auth.login.config should be set
> to /glassfish/lib/appclient/appclientlogin.conf
>

...but its contents are simply:

default {
    com.sun.enterprise.security.auth.login.ClientPasswordLoginModule
required debug=false;
};

certificate {
    com.sun.enterprise.security.auth.login.ClientCertificateLoginModule
required debug=false;
};

...and you'll note that my login.conf that I'm referencing is virtually
identical (I omitted the certificate login configuration since I don't use
it, but I use the default one).

Any other tips?

Thanks,
Laird