Apparatus and method for 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 web server application residing in memory and executed by the at least one processor, the web server comprising an input and formatting mechanism that receives data from a web page presented to a user and that formats the data into an Extensible Markup Language (XML) document;
a formatting mechanism residing in the memory and executed by the at least one processor that receives the XML document and that generates therefrom the data in a second format;
a directory service server residing in the memory and executed by the at least one processor that accesses a directory that has a plurality of entries, the plurality of entries including at least one entry that contains user registry information; and
a directory service client residing in the memory and executed by the at least one processor that receives the data in the second format and generates therefrom at least one command to the directory service server to provide the user registry information in the directory to the web server application to authenticate and authorize the user to access the web server application;
wherein the input and formatting mechanism comprises a servlet that formats the data into the XML document andwherein the formatting mechanism comprises a Java bean that uses an Extensible Stylesheet Language (XSL) stylesheet to convert the Extensible Markup Language (XML) document into a Directory Service Markup Language (DSML) document.
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.
64 Citations
3 Claims
-
1. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; a web server application residing in memory and executed by the at least one processor, the web server comprising an input and formatting mechanism that receives data from a web page presented to a user and that formats the data into an Extensible Markup Language (XML) document; a formatting mechanism residing in the memory and executed by the at least one processor that receives the XML document and that generates therefrom the data in a second format; a directory service server residing in the memory and executed by the at least one processor that accesses a directory that has a plurality of entries, the plurality of entries including at least one entry that contains user registry information; and a directory service client residing in the memory and executed by the at least one processor that receives the data in the second format and generates therefrom at least one command to the directory service server to provide the user registry information in the directory to the web server application to authenticate and authorize the user to access the web server application; wherein the input and formatting mechanism comprises a servlet that formats the data into the XML document and wherein the formatting mechanism comprises a Java bean that uses an Extensible Stylesheet Language (XSL) stylesheet to convert the Extensible Markup Language (XML) document into a Directory Service Markup Language (DSML) document.
-
-
2. A method for accessing a user registry stored in a directory service, the method comprising the steps of:
-
(A) receiving data from a web page presented to a user by a web server application; (B) extracting the data from the web page; (C) formatting the data into an Extensible Markup Language (XML) document in the web server application; (D) processing the data in the XML document to generate the data in a second format; (E) processing the data in the second format, and generating therefrom at least one command to provide the user registry in the directory service to the web server application to authenticate and authorize the user to access the web server application wherein step (D) comprises the steps of; (D1) processing the XML document according to information in an Extensible Stylesheet Language (XSL) stylesheet; and (D2) generating a Directory Service Markup Language (DSML) document from the XML document.
-
-
3. A computer program product stored on a recordable type media comprising:
-
(A) a web server application residing in memory and executed by the at least one processor, the web server application comprising an input and formatting mechanism that receives data from a web page presented to a user and that formats the data into an Extensible Markup Language (XML) document; (B) a formatting mechanism that receives the XML document and that generates therefrom the data in a second format; (C) a directory service server that accesses a directory that has a plurality of entries, the plurality of entries including at least one entry that contains user registry information; (D) a directory service client that receives the data in the second format and generates therefrom at least one command to the directory service server to provide the user registry information in the directory to the web server application to authenticate and authorize the user to access the web server application; (E) computer-recordable media bearing (A), (B), (C) and (D);
wherein the input and formatting mechanism comprises a servlet that formats the data into the XML document; and
wherein the formatting mechanism comprises a Java bean that uses an Extensible Stylesheet Language (XSL) stylesheet to convert the XML document into a Directory Service Markup Language (DSML) document.
-
Specification