The following realms are supported in the current release of
the GlassFish Server:
file – Stores user information in a file. This is
the default realm when you first install the GlassFish Server.
ldap – Stores user information in an LDAP directory.
Stores user information in a database.
In the JDBC realm,
the server gets user credentials from a database. The GlassFish Server uses
the database information and the enabled JDBC realm option in the
configuration file. For digest authentication, a JDBC realm should
be created with jdbcDigestRealm as the JAAS context.
certificate – Sets up the user
identity in the GlassFish Server security context, and populates it with
user data obtained from cryptographically verified client certificates.
solaris – Allows authentication using Solaris username+password data. This realm is only supported on the Solaris operating
system, version 9 and above.
For information about configuring realms, see How to Configure a Realm.