Directory Editor 6 on GlassFish V2

Download GlassFish

Directory Editor gives you a customizable, browser based interface to update entries in your directory. This entry shows you how to set up Directory Editor on GlassFish V2. (The build I got was 58c.) If you have not already created a Directory Server instance and loaded sample data, see the earlier entry on getting started. Also you should already have downloaded and set up GlassFish as described in the Quick Start Guide.

Download DSEE free of charge

Get Directory Editor with Directory Server Enterprise Edition. When you unpack the zip distribution of Directory Server Enterprise Edition, you see a file system directory called DSEE_Directory_Editor that contains the software, including the installable de.class binary, a couple of install scripts, and some documentation. The installation script prompts you for the install location, but you just want to get the de.war file so you can upload it into GlassFish. You do, however, need to set your DISPLAY environment variable correctly to install Directory Editor.

$ sh install.sh
Starting Sun Java System Directory Editor 6.0 Installer

...

   Directory to install Directory Editor components into [/home/mark] {"<"
   goes back, "!" exits}: 

Checking disk space...


The following items for the product Directory Editor will be installed:

Product: Directory Editor
Location: /home/mark
Space Required: 8.16 MB
------------------------------------------------------------------
Directory Editor war file
...

As described in the Directory Server Enterprise Edition release notes, you must fix a policy issue by adding the following lines to glassfish/domains/domain1/config/server.policy:

grant codeBase "file:${de.home}/-" {
  permission javax.security.auth.AuthPermission "getLoginConfiguration";
  permission javax.security.auth.AuthPermission "setLoginConfiguration";
  permission javax.security.auth.AuthPermission "createLoginContext.SunDirectoryLogin";
  permission javax.security.auth.AuthPermission "modifyPrincipals";
  permission java.lang.RuntimePermission "createClassLoader";
};

Adjust the server policy in the console to add the ${de.home}.

Deploy Directory Editor as a web app through the console.

To complete installation, you set the directory start up properties.

You then identify the directory to manage.

Once you can manage the directory, you can login to Directory Editor anonymously to search (as is the case on many directories), or as a user with access rights to make changes.

Once you are logged in, there are several tasks on the start page.

The following page shows you creating a user named Mark.

For more information on Directory Editor, see the Installation and Configuration Guide online at http://docs.sun.com/source/819-2191/index.html.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Mark Craig writes about Directory Services products and technologies. The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today