User guide

Deleting User Information from the SSO Repository
A-7
Deleting User Information from the SSO Repository
This sample program assumes the environment setup below. Change the setup according to the actual
environment used.
The public directory for creation of the repository is "ou=interstage,o=fujitsu,dc=com".
The storage location of user information is "ou=User,ou=interstage,o=fujitsu,dc=com".
RDN of user information is expressed by "cn".
The user name to be deleted is specified for "user" in java.lang.String.
The result of common preprocessing is used as the value of "ctx".
Description of User Program
Example
Pre-processing
:
String dn = "cn=" + user + ",ou=User,ou=interstage,o=fujitsu,dc=com";
ctx.destroySubcontext(dn);
:
Postprocessing