Package edu.ucsb.nceas.metacat.util
Class OrganizationUtil
java.lang.Object
edu.ucsb.nceas.metacat.util.OrganizationUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Reports whether LDAP is fully configured.gets a list of organization names from metacat.properties.gets a list of organization names from metacat.properties.
-
Method Details
-
getOrganizations
gets a list of organization names from metacat.properties. Parses the csv string into a vector- Returns:
- a Vector of Strings that hold all available organizations TODO MCD this should be retrieved from ldap instead of metacat.properties
- Throws:
MetacatUtilException
-
getOrgDNs
gets a list of organization names from metacat.properties. Parses the csv string into a vector- Returns:
- a Vector of Strings that hold all available organizations
- Throws:
MetacatUtilException
-
areOrganizationsConfigured
Reports whether LDAP is fully configured.- Returns:
- a boolean that is true if all sections are configured and false otherwise
- Throws:
MetacatUtilException
-