users@glassfish.java.net

Re: Client certificate authentication problem (glassfish v2 build 17)

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Jul 2007 08:46:29 PDT

BTW, the GlassFish server is configured for the minimal certificate realm out-of-the-box. To add
the assign-groups property to it, here is what you need to do:
- logon to admin console and navigate to security service configuration to see the configured realm,
  or:
- asadmin set "server.security-service.auth-realm.certificate.property.assign-groups=xyz"

This will create

        <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate"> <property name="assign-groups" value="xyz"/>
        </auth-realm>

in the domain.xml.

I believe you need to restart the server after you do this.

Regards,
Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=225342