Realm wrapper for supporting certificate authentication.
The certificate realm provides the security-service functionality
needed to process a client-cert authentication. Since the SSL processing,
and client certificate verification is done by NSS, no authentication
is actually done by this realm. It only serves the purpose of being
registered as the certificate handler realm and to service group
membership requests during web container role checks.
There is no JAAS LoginModule corresponding to the certificate realm,
therefore this realm does not require the jaas-context configuration
parameter to be set. The purpose of a JAAS LoginModule is to implement
the actual authentication processing, which for the case of this
certificate realm is already done by the time execution gets to Java.
The certificate realm needs the following properties in its
configuration: None.
The following optional attributes can also be specified:
- assign-groups - A comma-separated list of group names which
will be assigned to all users who present a cryptographically
valid certificate. Since groups are otherwise not supported
by the cert realm, this allows grouping cert users
for convenience.
|