The GlassFish Server comes preconfigured with three realms: file, certificate, and admin-realm. It is also possible to create ldap, JDBC, solaris, PAM, and custom realms. Generally, you will have one realm of each type on a server, but on the GlassFish Server there are two file realms: file and admin-realm. These are two realms of the same type used for two different purposes. It is also possible to have a different certificate database for each virtual server on your system.
The Realms page opens.
The New Realm page opens.
Valid choices are shown in the following table.
Realm Name |
Class Name |
---|---|
file |
com.sun.enterprise.security.auth.realm.file.FileRealm |
certificate |
com.sun.enterprise.security.auth.realm.certificate.CertificateRealm |
ldap |
com.sun.enterprise.security.auth.realm.ldap.LDAPRealm |
JDBC |
com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm |
solaris |
com.sun.enterprise.security.auth.realm.solaris.SolarisRealm |
PAM |
com.sun.enterprise.security.auth.realm.solaris.PamRealm |
To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.
Valid properties depend on the type of realm.
See Also
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices