public void add ( String dn , String attributes , String delimiter , String seperator ) throws NamingException , PageException { DirContext ctx = new InitialDirContext ( env ) ; ctx . createSubcontext ( dn , toAttributes ( attributes , delimiter , seperator ) ) ; ctx . close ( ) ; }
adds LDAP entries to LDAP server