Node Director
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
sfi.director.application.InstallerOpenLDAP Class Reference

reads configuration files and tries to expand includes More...

Public Member Functions

String[] enumSchema ()
void installSchema (String name) throws DirectorException
void createDB (DN top, File dbdir, boolean anonymousAccess, String rootpw, String domain) throws DirectorException
void setRandomPassword (DN top, String domain) throws DirectorException
 Set random password for ldaproot user.
void delDB (DN top) throws DirectorException
void createDomain (DN top, File dbdir, boolean anonymousAccess, String rootpw, String domain, boolean allowIntAuth) throws DirectorException
void createConf (String rootdb, String domain, File template) throws DirectorException
MyProperties readConf (String domain) throws DirectorException
void deleteDomain (String domain) throws DirectorException

Static Public Member Functions

static InstallerOpenLDAP getInstance ()

Protected Member Functions

Vector _numberedAttribs (Vector attribs)
File _frontendCredentials (String domain)
void service (String service, String action)
String randomPw (int size)
DBObject _getDBDef (DN top, File dbdir, boolean anonymousAccess)
DBObject _getDBRoot (DN top) throws DirectorException
DBObject _getPeopleDir (DN top) throws DirectorException
DBObject _getSystemDir (DN top) throws DirectorException
DBObject _getRootUser (DN top, String pw) throws DirectorException
DBObject _getLdapRootUser (DN top, String pw) throws DirectorException
void copyPerms (File origDir, File newDir) throws DirectorException
Vector< String > enumDomains ()
int findAdminPort (String domain) throws DirectorException
DBConnection configDB () throws DirectorException
DBConnection rootDB () throws DirectorException
DBConnection _getDB (String base) throws DirectorException

Detailed Description

reads configuration files and tries to expand includes

Member Function Documentation

File sfi.director.application.InstallerOpenLDAP._frontendCredentials ( String  domain)
protected
DBConnection sfi.director.application.InstallerOpenLDAP._getDB ( String  base) throws DirectorException
protected
DBObject sfi.director.application.InstallerOpenLDAP._getDBDef ( DN  top,
File  dbdir,
boolean  anonymousAccess 
)
protected
DBObject sfi.director.application.InstallerOpenLDAP._getDBRoot ( DN  top) throws DirectorException
protected
DBObject sfi.director.application.InstallerOpenLDAP._getLdapRootUser ( DN  top,
String  pw 
) throws DirectorException
protected
DBObject sfi.director.application.InstallerOpenLDAP._getPeopleDir ( DN  top) throws DirectorException
protected
DBObject sfi.director.application.InstallerOpenLDAP._getRootUser ( DN  top,
String  pw 
) throws DirectorException
protected
DBObject sfi.director.application.InstallerOpenLDAP._getSystemDir ( DN  top) throws DirectorException
protected
Vector sfi.director.application.InstallerOpenLDAP._numberedAttribs ( Vector  attribs)
protected
DBConnection sfi.director.application.InstallerOpenLDAP.configDB ( ) throws DirectorException
protected
void sfi.director.application.InstallerOpenLDAP.copyPerms ( File  origDir,
File  newDir 
) throws DirectorException
protected
void sfi.director.application.InstallerOpenLDAP.createConf ( String  rootdb,
String  domain,
File  template 
) throws DirectorException
void sfi.director.application.InstallerOpenLDAP.createDB ( DN  top,
File  dbdir,
boolean  anonymousAccess,
String  rootpw,
String  domain 
) throws DirectorException
void sfi.director.application.InstallerOpenLDAP.createDomain ( DN  top,
File  dbdir,
boolean  anonymousAccess,
String  rootpw,
String  domain,
boolean  allowIntAuth 
) throws DirectorException
void sfi.director.application.InstallerOpenLDAP.delDB ( DN  top) throws DirectorException
void sfi.director.application.InstallerOpenLDAP.deleteDomain ( String  domain) throws DirectorException
Vector<String> sfi.director.application.InstallerOpenLDAP.enumDomains ( )
protected
String [] sfi.director.application.InstallerOpenLDAP.enumSchema ( )
int sfi.director.application.InstallerOpenLDAP.findAdminPort ( String  domain) throws DirectorException
protected
static InstallerOpenLDAP sfi.director.application.InstallerOpenLDAP.getInstance ( )
static
void sfi.director.application.InstallerOpenLDAP.installSchema ( String  name) throws DirectorException
String sfi.director.application.InstallerOpenLDAP.randomPw ( int  size)
protected
MyProperties sfi.director.application.InstallerOpenLDAP.readConf ( String  domain) throws DirectorException
DBConnection sfi.director.application.InstallerOpenLDAP.rootDB ( ) throws DirectorException
protected
void sfi.director.application.InstallerOpenLDAP.service ( String  service,
String  action 
)
protected
void sfi.director.application.InstallerOpenLDAP.setRandomPassword ( DN  top,
String  domain 
) throws DirectorException

The documentation for this class was generated from the following file: