Using a directory service for a user registry
First Claim
Patent Images
1. An apparatus comprising:
- at least one processor;
a memory coupled to the at least one processor;
a user registration web page residing in the memory;
a page server mechanism residing in the memory and executed by the at least one processor that renders the user registration web page to a user;
a user registration servlet residing within a web server application in the memory and executed by the at least one processor that receives user registration data from the user registration web page when the user submits the user registration web page and that formats the user registration data into an Extensible Markup Language (XML) document;
a user registry Java bean residing in the memory and executed by the at least one processor that receives the XML document with the user registration data and that generates therefrom a Directory Service Markup Language (DSML) document according to information in an Extensible Stylesheet Language (XSL) stylesheet;
a Lightweight Directory Access Protocol (LDAP) server residing in the memory and executed by the at least one processor that accesses an LDAP directory that has a plurality of entries, the plurality of entries including at least one entry that contains user registry information; and
an LDAP Java bean residing in the memory and executed by the at least one processor that receives the DSML document and generates therefrom at least one command to the LDAP server to access the user registry information in the LDAP directory, wherein the user registry Java bean translates the XML document to the DSML document to encapsulate presentation logic of the web server application from business logic in the LDAP Java bean to access the LDAP server.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method provide an architected way for a web server to access a user registry in a directory service such as LDAP. In the preferred embodiments, the logic for presenting and processing a web page is encapsulated from the logic that interacts with the directory service, making it easy for a programmer to make changes to the a user registration form without having to have a detailed knowledge of the directory service and its interfaces.
-
Citations
10 Claims
-
1. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; a user registration web page residing in the memory; a page server mechanism residing in the memory and executed by the at least one processor that renders the user registration web page to a user; a user registration servlet residing within a web server application in the memory and executed by the at least one processor that receives user registration data from the user registration web page when the user submits the user registration web page and that formats the user registration data into an Extensible Markup Language (XML) document; a user registry Java bean residing in the memory and executed by the at least one processor that receives the XML document with the user registration data and that generates therefrom a Directory Service Markup Language (DSML) document according to information in an Extensible Stylesheet Language (XSL) stylesheet; a Lightweight Directory Access Protocol (LDAP) server residing in the memory and executed by the at least one processor that accesses an LDAP directory that has a plurality of entries, the plurality of entries including at least one entry that contains user registry information; and an LDAP Java bean residing in the memory and executed by the at least one processor that receives the DSML document and generates therefrom at least one command to the LDAP server to access the user registry information in the LDAP directory, wherein the user registry Java bean translates the XML document to the DSML document to encapsulate presentation logic of the web server application from business logic in the LDAP Java bean to access the LDAP server. - View Dependent Claims (2)
-
-
3. A method for accessing a user registry stored in an LDAP directory, the method comprising the steps of:
-
(A) displaying a HTML form to a user; (B) receiving data in the HTML form from the user; (C) extracting the data from the HTML form; (D) formatting the extracted data into an Extensible Markup Language (XML) document in a web server application; (E) processing the XML document with a user registry java bean using information in an Extensible Stylesheet Language (XSL) stylesheet to generate a Directory Service Markup Language (DSML) document; (F) processing the DSML document in a LDAP Java bean, and generating therefrom at least one command to access the user registry in the LDAP directory, wherein the user registry java bean translates the XML document to the DSML document to encapsulate presentation logic of the web server application from business logic in the LDAP Java bean to access the LDAP server. - View Dependent Claims (4, 5, 6, 7, 8, 9)
-
-
10. A program product comprising:
-
(A) a user registration page that includes a user registration web page; (B) a page server mechanism that renders the user registration web page to a user; (C) a user registration servlet that receives data from the user registration web page and that formats the data into an Extensible Markup Language (XML) document; (D) a user registry Java bean residing within a web server application that receives the XML document and that generates therefrom a Directory Service Markup Language (DSML) document according to information in an Extensible Stylesheet Language (XSL) stylesheet; (E) a Lightweight Directory Access Protocol (LDAP) server that accesses an LDAP directory that has a plurality of entries, the plurality of entries including at least one entry that contains user registry information; (F) an LDAP Java bean that receives the DSML document and generates therefrom at least one command to the LDAP server to access the user registry information in the LDAP directory, wherein the user registry Java bean translates the XML document to the DSML document to encapsulate presentation logic of the web server application from business logic in the LDAP Java bean to access the LDAP server; and (G) tangible, computer-recordable media bearing (A), (B), (C), (D), (E) and (F).
-
Specification