All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-realmnew.html Maven / Gradle / Ivy

There is a newer version: 3.2-b03
Show newest version



To Create a Realm

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.

  1. Under the Configurations node, expand the server instance or cluster configuration for which you want to configure realms.
  2. Expand the Security node.
  3. Expand the Realms node.

    The Realms page opens.

  4. On the Realms page, click New.

    The New Realm page opens.

  5. In the Name field, type a name for the realm.
  6. To specify the class name for the realm, do either of the following:
    • From the Class Name drop-down list, select the class name for the realm being created.

      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

    • Select the lower radio button and type the class name for the custom realm being created.
  7. (Optional) In the Additional Properties section, specify additional properties.

    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.

  8. Click OK.
See Also
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy